Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/demo2/
Dgraphics.cpp194 nn::math::VEC3* v_pos, // Sphere position (output) in UpdateParams() argument
224 nn::math::VEC3 v_s(*v_pos - v_cam); // Vector from camera to sphere in UpdateParams()
232 micAcc *= nn::math::VEC3Dot(&v_f, &v_s) / nn::math::VEC3Len(*v_pos - v_cam); in UpdateParams()
241 if(v_pos->x > -4.f && v_pos->x < 4.f && v_pos->z > -4.f && v_pos->z < 4.f) in UpdateParams()
248 *v_pos += v_v; in UpdateParams()
252 else if( v_pos->y > -50.f ) in UpdateParams()
256 *v_pos += v_v; in UpdateParams()
263 v_pos->x = 0.f; in UpdateParams()
264 v_pos->y = 0.f; in UpdateParams()
265 v_pos->z = 0.f; in UpdateParams()
[all …]