Lines Matching refs:r
51 static void _tToVTBN( float *v, float *t, float *b, float *n, float *st, float r ) in _tToVTBN() argument
55 float y = - r * cos( theta ); in _tToVTBN()
56 float z = r * sin( theta ) * cos( phai ); in _tToVTBN()
57 float x = r * sin( theta ) * sin( phai ); in _tToVTBN()
58 float dxdt = r * cos( theta ) * sin( phai ); in _tToVTBN()
59 float dzdt = r * cos( theta ) * cos( phai ); in _tToVTBN()
60 float dydt = r * sin( theta ); in _tToVTBN()
107 float r, g, b, a; member
178 sphere( unsigned int i, unsigned int j, float r );
187 sphere::sphere( unsigned int ni, unsigned int nj, float r ) in sphere() argument
212 _tToVTBN( v, t, b, n, st, r ); in sphere()
218 _tToVTBN( v, t, b, n, st, r ); in sphere()
224 _tToVTBN( v, t, b, n, st, r ); in sphere()
232 _tToVTBN( v, t, b, n, st, r ); in sphere()
238 _tToVTBN( v, t, b, n, st, r ); in sphere()
244 _tToVTBN( v, t, b, n, st, r ); in sphere()
258 memcpy( &m_vertex_attr[i].r, &m_color[ i*4 ], sizeof( float )*4 ); in sphere()