Lines Matching refs:vtx
146 } vtx; in LoadPlane() local
150 vtx.pos[0][0] = +4.0f; in LoadPlane()
151 vtx.pos[0][1] = 0.f; in LoadPlane()
152 vtx.pos[0][2] = +4.0f; in LoadPlane()
154 vtx.pos[1][0] = +4.0f; in LoadPlane()
155 vtx.pos[1][1] = 0.f; in LoadPlane()
156 vtx.pos[1][2] = -4.0f; in LoadPlane()
158 vtx.pos[2][0] = -4.0f; in LoadPlane()
159 vtx.pos[2][1] = 0.f; in LoadPlane()
160 vtx.pos[2][2] = +4.0f; in LoadPlane()
162 vtx.pos[3][0] = -4.0f; in LoadPlane()
163 vtx.pos[3][1] = 0.f; in LoadPlane()
164 vtx.pos[3][2] = -4.0f; in LoadPlane()
168 vtx.nor[i][0] = 0.f; in LoadPlane()
169 vtx.nor[i][1] = 1.f; in LoadPlane()
170 vtx.nor[i][2] = 0.f; in LoadPlane()
179 glBufferData(GL_ARRAY_BUFFER, sizeof(vtx), vtx.pos[0], GL_STATIC_DRAW); in LoadPlane()