Searched refs:coords (Results 1 – 5 of 5) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LineSimple/ |
| D | LineSimple.cpp | 57 GLfloat coords[] = { in LoadObjects() local 72 glBufferData(GL_ARRAY_BUFFER, sizeof(coords) + sizeof(color), 0, GL_STATIC_DRAW); in LoadObjects() 73 glBufferSubData(GL_ARRAY_BUFFER, 0, sizeof(coords), coords); in LoadObjects() 74 glBufferSubData(GL_ARRAY_BUFFER, sizeof(coords), sizeof(color), color); in LoadObjects() 84 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (GLvoid*)sizeof(coords)); in LoadObjects()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Demo/ScreenCapture/ |
| D | TriangleSimple.cpp | 53 GLfloat coords[] = { in LoadObjects() local 68 glBufferData(GL_ARRAY_BUFFER, sizeof(coords) + sizeof(color), 0, GL_STATIC_DRAW); in LoadObjects() 69 glBufferSubData(GL_ARRAY_BUFFER, 0, sizeof(coords), coords); in LoadObjects() 70 glBufferSubData(GL_ARRAY_BUFFER, sizeof(coords), sizeof(color), color); in LoadObjects() 80 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (GLvoid*)sizeof(coords)); in LoadObjects()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/TextureCombiner/ |
| D | gx_TextureCombiner.cpp | 100 GLfloat coords[] = { in LoadObjects() local 117 glBufferData(GL_ARRAY_BUFFER, sizeof(coords) + sizeof(texcoords), 0, GL_STATIC_DRAW); in LoadObjects() 118 glBufferSubData(GL_ARRAY_BUFFER, 0, sizeof(coords), coords); in LoadObjects() 119 glBufferSubData(GL_ARRAY_BUFFER, sizeof(coords), sizeof(texcoords), texcoords); in LoadObjects() 129 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (GLvoid*)sizeof(coords)); in LoadObjects()
|
| /CTR-SDK-4.2.7-SampleDemos/camera/Stereo/ |
| D | main.cpp | 1581 GLfloat coords[] = { in LoadObjects() local 1598 glBufferData(GL_ARRAY_BUFFER, sizeof(coords) + sizeof(texcoords), 0, GL_STATIC_DRAW); in LoadObjects() 1599 glBufferSubData(GL_ARRAY_BUFFER, 0, sizeof(coords), coords); in LoadObjects() 1600 glBufferSubData(GL_ARRAY_BUFFER, sizeof(coords), sizeof(texcoords), texcoords); in LoadObjects() 1610 … glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, reinterpret_cast<GLvoid*>(sizeof(coords))); in LoadObjects()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSpotAtte/ |
| D | LightingSpotAtte.cpp | 136 GLfloat coords[] = in DrawPlane() local 157 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, coords); in DrawPlane()
|