Home
last modified time | relevance | path

Searched refs:nlon (Results 1 – 2 of 2) sorted by relevance

/RvlSDK-3.3/build/demos/gxdemo/src/TexGen/
Dspheremap.c93 u16 nlon = tess, nlat = tess; in genMapSphere() local
116 GXBegin(GX_TRIANGLEFAN, GX_VTXFMT7, (u16)(nlon+2)); in genMapSphere()
124 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = -2*M_PI*j/nlon) { in genMapSphere()
152 GXBegin(GX_TRIANGLESTRIP, GX_VTXFMT7, (u16)((nlon+1)*2)); in genMapSphere()
153 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = 2*M_PI*j/nlon) in genMapSphere()
Dparabolicmap.c123 u16 nlon = tess, nlat = tess; in genMapSphere() local
144 GXBegin(GX_TRIANGLEFAN, GX_VTXFMT7, (u16)(nlon+2)); in genMapSphere()
153 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = -2*M_PI*j/nlon) { in genMapSphere()
181 GXBegin(GX_TRIANGLESTRIP, GX_VTXFMT7, (u16)((nlon+1)*2)); in genMapSphere()
182 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = 2*M_PI*j/nlon) in genMapSphere()