Lines Matching refs:UVs
263 static void SetUV(VERTTYPE** UVs, int index, VERTTYPE u, VERTTYPE v) in SetUV() argument
265 (*UVs)[index*2+0] = u; in SetUV()
266 (*UVs)[index*2+1] = v; in SetUV()
278 … PVRTCreateSkybox(float scale, bool adjustUV, int textureSize, VERTTYPE** Vertices, VERTTYPE** UVs) in PVRTCreateSkybox() argument
281 *UVs = new VERTTYPE[24*2]; in PVRTCreateSkybox()
298 SetUV(UVs, 0, a0, a1); in PVRTCreateSkybox()
299 SetUV(UVs, 1, a1, a1); in PVRTCreateSkybox()
300 SetUV(UVs, 2, a0, a0); in PVRTCreateSkybox()
301 SetUV(UVs, 3, a1, a0); in PVRTCreateSkybox()
308 SetUV(UVs, 4, a0, a1); in PVRTCreateSkybox()
309 SetUV(UVs, 5, a1, a1); in PVRTCreateSkybox()
310 SetUV(UVs, 6, a0, a0); in PVRTCreateSkybox()
311 SetUV(UVs, 7, a1, a0); in PVRTCreateSkybox()
318 SetUV(UVs, 8 , a0, a1); in PVRTCreateSkybox()
319 SetUV(UVs, 9 , a1, a1); in PVRTCreateSkybox()
320 SetUV(UVs, 10, a0, a0); in PVRTCreateSkybox()
321 SetUV(UVs, 11, a1, a0); in PVRTCreateSkybox()
328 SetUV(UVs, 12, a0, a1); in PVRTCreateSkybox()
329 SetUV(UVs, 13, a1, a1); in PVRTCreateSkybox()
330 SetUV(UVs, 14, a0, a0); in PVRTCreateSkybox()
331 SetUV(UVs, 15, a1, a0); in PVRTCreateSkybox()
338 SetUV(UVs, 16, a0, a1); in PVRTCreateSkybox()
339 SetUV(UVs, 17, a1, a1); in PVRTCreateSkybox()
340 SetUV(UVs, 18, a0, a0); in PVRTCreateSkybox()
341 SetUV(UVs, 19, a1, a0); in PVRTCreateSkybox()
348 SetUV(UVs, 20, a0, a1); in PVRTCreateSkybox()
349 SetUV(UVs, 21, a1, a1); in PVRTCreateSkybox()
350 SetUV(UVs, 22, a0, a0); in PVRTCreateSkybox()
351 SetUV(UVs, 23, a1, a0); in PVRTCreateSkybox()
362 void PVRTDestroySkybox(VERTTYPE* Vertices, VERTTYPE* UVs) in PVRTDestroySkybox() argument
365 delete [] UVs; in PVRTDestroySkybox()