Lines Matching refs:nj
187 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()
279 squre::squre( unsigned int ni, unsigned int nj, float l ) in squre() argument
283 m_triangle_count = ni * nj * 2; in squre()
296 for ( unsigned int j = 0; j < nj; j++ ) { in squre()
300 st[1] = ( float )j / ( float )nj; in squre()
306 st[1] = ( float )j / ( float )nj; in squre()
312 st[1] = ( float )( j + 1 ) / ( float )nj; in squre()
318 st[1] = ( float )j / ( float )nj; in squre()
324 st[1] = ( float )( j + 1 ) / ( float )nj; in squre()
330 st[1] = ( float )( j + 1 ) / ( float )nj; in squre()