Home
last modified time | relevance | path

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

/RvlSDK-3.2/build/demos/gxdemo/src/TexGen/
Dspheremap.c85 #define M_PI 3.14159265F macro
117 theta = M_PI*1.0f/nlat; in genMapSphere()
124 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = -2*M_PI*j/nlon) { 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()
153 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = 2*M_PI*j/nlon) in genMapSphere()
Dparabolicmap.c112 #define M_PI 3.14159265F macro
145 theta = M_PI*1.0f/nlat; in genMapSphere()
153 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = -2*M_PI*j/nlon) { 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()
182 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = 2*M_PI*j/nlon) in genMapSphere()