Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/
Ds.h33 static void _store_array( int idx, float *v, float *n, float *t, float *b, float *st, float *c, in _store_array() argument
45 st_array[idx*2+i] = st[i]; in _store_array()
51 static void _tToVTBN( float *v, float *t, float *b, float *n, float *st, float r ) in _tToVTBN() argument
53 float theta = ( float )M_PI * st[1]; in _tToVTBN()
54 float phai = 2.f * ( float )M_PI * st[0]; in _tToVTBN()
79 static void _tToVTBN2( float *v, float *t, float *b, float *n, float *st, float l ) in _tToVTBN2() argument
81 v[0] = l * ( st[0] - 0.5f ); in _tToVTBN2()
82 v[1] = l * ( st[1] - 0.5f ); in _tToVTBN2()
189 float v[3], n[3], t[3], b[3], st[2], c[4]; in sphere() local
210 st[0] = ( float )i / ( float )ni; in sphere()
[all …]