Lines Matching refs:Vertices

248 static void SetVertex(VERTTYPE** Vertices, int index, VERTTYPE x, VERTTYPE y, VERTTYPE z)  in SetVertex()  argument
250 (*Vertices)[index*3+0] = x; in SetVertex()
251 (*Vertices)[index*3+1] = y; in SetVertex()
252 (*Vertices)[index*3+2] = z; in SetVertex()
278 void PVRTCreateSkybox(float scale, bool adjustUV, int textureSize, VERTTYPE** Vertices, VERTTYPE** … in PVRTCreateSkybox() argument
280 *Vertices = new VERTTYPE[24*3]; in PVRTCreateSkybox()
294 SetVertex(Vertices, 0, -unit, +unit, -unit); in PVRTCreateSkybox()
295 SetVertex(Vertices, 1, +unit, +unit, -unit); in PVRTCreateSkybox()
296 SetVertex(Vertices, 2, -unit, -unit, -unit); in PVRTCreateSkybox()
297 SetVertex(Vertices, 3, +unit, -unit, -unit); in PVRTCreateSkybox()
304 SetVertex(Vertices, 4, +unit, +unit, -unit); in PVRTCreateSkybox()
305 SetVertex(Vertices, 5, +unit, +unit, +unit); in PVRTCreateSkybox()
306 SetVertex(Vertices, 6, +unit, -unit, -unit); in PVRTCreateSkybox()
307 SetVertex(Vertices, 7, +unit, -unit, +unit); in PVRTCreateSkybox()
314 SetVertex(Vertices, 8 , +unit, +unit, +unit); in PVRTCreateSkybox()
315 SetVertex(Vertices, 9 , -unit, +unit, +unit); in PVRTCreateSkybox()
316 SetVertex(Vertices, 10, +unit, -unit, +unit); in PVRTCreateSkybox()
317 SetVertex(Vertices, 11, -unit, -unit, +unit); in PVRTCreateSkybox()
324 SetVertex(Vertices, 12, -unit, +unit, +unit); in PVRTCreateSkybox()
325 SetVertex(Vertices, 13, -unit, +unit, -unit); in PVRTCreateSkybox()
326 SetVertex(Vertices, 14, -unit, -unit, +unit); in PVRTCreateSkybox()
327 SetVertex(Vertices, 15, -unit, -unit, -unit); in PVRTCreateSkybox()
334 SetVertex(Vertices, 16, -unit, +unit, +unit); in PVRTCreateSkybox()
335 SetVertex(Vertices, 17, +unit, +unit, +unit); in PVRTCreateSkybox()
336 SetVertex(Vertices, 18, -unit, +unit, -unit); in PVRTCreateSkybox()
337 SetVertex(Vertices, 19, +unit, +unit, -unit); in PVRTCreateSkybox()
344 SetVertex(Vertices, 20, -unit, -unit, -unit); in PVRTCreateSkybox()
345 SetVertex(Vertices, 21, +unit, -unit, -unit); in PVRTCreateSkybox()
346 SetVertex(Vertices, 22, -unit, -unit, +unit); in PVRTCreateSkybox()
347 SetVertex(Vertices, 23, +unit, -unit, +unit); in PVRTCreateSkybox()
353 for (int i=0; i<24*3; i++) (*Vertices)[i] = VERTTYPEMUL((*Vertices)[i], f2vt(scale)); in PVRTCreateSkybox()
362 void PVRTDestroySkybox(VERTTYPE* Vertices, VERTTYPE* UVs) in PVRTDestroySkybox() argument
364 delete [] Vertices; in PVRTDestroySkybox()