Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/
Ds.h187 sphere::sphere( unsigned int ni, unsigned int nj, float r ) in sphere() argument
191 m_triangle_count = ni * nj * 2; in sphere()
206 for ( unsigned int j = 0; j < nj; j++ ) { in sphere()
211 st[1] = ( float )j / ( float )nj; in sphere()
217 st[1] = ( float )j / ( float )nj; in sphere()
223 st[1] = ( float )( j + 1 ) / ( float )nj; in sphere()
228 if ( j != nj-1 ) { in sphere()
231 st[1] = ( float )j / ( float )nj; in sphere()
237 st[1] = ( float )( j + 1 ) / ( float )nj; in sphere()
243 st[1] = ( float )( j + 1 ) / ( float )nj; in sphere()
[all …]