Lines Matching refs:i

36     for ( unsigned int i = 0; i < 3; i++ ) {  in _store_array()  local
37 v_array[idx*3+i] = v[i]; in _store_array()
39 n_array[idx*3+i] = n[i]; in _store_array()
40 t_array[idx*3+i] = t[i]; in _store_array()
41 b_array[idx*3+i] = b[i]; in _store_array()
44 for ( unsigned int i = 0; i < 2; i++ ) in _store_array() local
45 st_array[idx*2+i] = st[i]; in _store_array()
46 for ( unsigned int i = 0; i < 4; i++ ) in _store_array() local
47 c_array[idx*4+i] = c[i]; in _store_array()
178 sphere( unsigned int i, unsigned int j, float r );
205 for ( unsigned int i = 0; i < ni; i++ ) { in sphere() local
210 st[0] = ( float )i / ( float )ni; in sphere()
216 st[0] = ( float )( i + 1 ) / ( float )ni; in sphere()
222 st[0] = ( float )( i + 1 ) / ( float )ni; in sphere()
230 st[0] = ( float )i / ( float )ni; in sphere()
236 st[0] = ( float )( i + 1 ) / ( float )ni; in sphere()
242 st[0] = ( float )i / ( float )ni; in sphere()
253 for ( unsigned int i = 0; i < m_index_count; i++ ) { in sphere() local
254 memcpy( &m_vertex_attr[i].x, &m_vertex[ i*3 ], sizeof( float )*3 ); in sphere()
255 memcpy( &m_vertex_attr[i].nx, &m_normal[ i*3 ], sizeof( float )*3 ); in sphere()
256 memcpy( &m_vertex_attr[i].tx, &m_tangent[ i*3 ], sizeof( float )*3 ); in sphere()
257 memcpy( &m_vertex_attr[i].s, &m_texture[ i*2 ], sizeof( float )*2 ); in sphere()
258 memcpy( &m_vertex_attr[i].r, &m_color[ i*4 ], sizeof( float )*4 ); in sphere()
270 squre( unsigned int i, unsigned int j, float l );
295 for ( unsigned int i = 0; i < ni; i++ ) { in squre() local
299 st[0] = ( float )i / ( float )ni; in squre()
305 st[0] = ( float )( i + 1 ) / ( float )ni; in squre()
311 st[0] = ( float )( i + 1 ) / ( float )ni; in squre()
317 st[0] = ( float )i / ( float )ni; in squre()
323 st[0] = ( float )( i + 1 ) / ( float )ni; in squre()
329 st[0] = ( float )i / ( float )ni; in squre()