Lines Matching refs:pos
88 GLfloat pos[ROW_NUM * COL_NUM][3]; member
109 s_Vtx.pos[row * COL_NUM + col][0] =(GLfloat)sin(deltaROW * row) * cos(deltaCOL * col); in LoadSphere()
110 s_Vtx.pos[row * COL_NUM + col][1] =(GLfloat)cos(deltaROW * row); in LoadSphere()
111 s_Vtx.pos[row * COL_NUM + col][2] =(GLfloat)sin(deltaROW * row) * sin(deltaCOL * col); in LoadSphere()
151 GLfloat pos[4][3]; in LoadPlane() member
157 vtx.pos[0][0] = +3.0f; in LoadPlane()
158 vtx.pos[0][1] = -1.0f; in LoadPlane()
159 vtx.pos[0][2] = +3.0f; in LoadPlane()
161 vtx.pos[1][0] = +3.0f; in LoadPlane()
162 vtx.pos[1][1] = -1.0f; in LoadPlane()
163 vtx.pos[1][2] = -3.0f; in LoadPlane()
165 vtx.pos[2][0] = -3.0f; in LoadPlane()
166 vtx.pos[2][1] = -1.0f; in LoadPlane()
167 vtx.pos[2][2] = +3.0f; in LoadPlane()
169 vtx.pos[3][0] = -3.0f; in LoadPlane()
170 vtx.pos[3][1] = -1.0f; in LoadPlane()
171 vtx.pos[3][2] = -3.0f; in LoadPlane()
186 glBufferData(GL_ARRAY_BUFFER, sizeof(vtx), vtx.pos[0], GL_STATIC_DRAW); in LoadPlane()