Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/
Ds.h12 static void _norm_vec( float *v ) in _norm_vec() argument
14 double x = v[0]; in _norm_vec()
15 double y = v[1]; in _norm_vec()
16 double z = v[2]; in _norm_vec()
20 v[0] = (float)( x / d ); in _norm_vec()
21 v[1] = (float)( y / d ); in _norm_vec()
22 v[2] = (float)( z / d ); in _norm_vec()
33 static void _store_array( int idx, float *v, float *n, float *t, float *b, float *st, float *c, in _store_array() argument
37 v_array[idx*3+i] = v[i]; in _store_array()
51 static void _tToVTBN( float *v, float *t, float *b, float *n, float *st, float r ) in _tToVTBN() argument
[all …]
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LineSimple/
DLineSimple.cpp178 GLfloat v[4]; in Initialize() local
180 v[0] = (GLfloat)nn::gx::DISPLAY0_WIDTH / lwidth; in Initialize()
181 v[1] = (GLfloat)nn::gx::DISPLAY0_HEIGHT / lwidth; in Initialize()
182 v[2] = (GLfloat)nn::gx::DISPLAY0_WIDTH * nn::gx::DISPLAY0_HEIGHT; in Initialize()
183 v[3] = 2.f / lwidth; in Initialize()
184 glUniform4fv(glGetUniformLocation(s_PgID, "dmp_Line.width"), 1, v); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/CommandBufferJump/
DCommandBufferJump.cpp523 float v = m.m[i][3 - j]; in DrawFrame() local
524 modelViewCommand[index++] = *(unsigned*)&v; in DrawFrame()