Home
last modified time | relevance | path

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

/RvlSDK-3.1.4/build/demos/gxdemo/src/TexGen/
Dspheremap.c93 u16 nlon = tess, nlat = tess; in genMapSphere() local
117 theta = M_PI*1.0f/nlat; in genMapSphere()
135 for (i = 2; i < nlat; i++) in genMapSphere()
137 theta = M_PI*i/nlat; in genMapSphere()
138 r1 = r*sinf(M_PI*(i-1)/nlat); in genMapSphere()
139 z1 = r*cosf(M_PI*(i-1)/nlat); in genMapSphere()
Dparabolicmap.c123 u16 nlon = tess, nlat = tess; in genMapSphere() local
145 theta = M_PI*1.0f/nlat; in genMapSphere()
164 for (i = 2; i < nlat; i++) in genMapSphere()
166 theta = M_PI*i/nlat; in genMapSphere()
167 r1 = r*sinf(M_PI*(i-1)/nlat); in genMapSphere()
168 z1 = r*cosf(M_PI*(i-1)/nlat); in genMapSphere()