Lines Matching refs:v_pos
194 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()
277 const nn::math::VEC3 v_pos, in DrawObjects() argument
316 nn::math::Vector3 trans(v_pos.x, posYforSphere, v_pos.z); in DrawObjects()
317 nn::math::Vector3 fall(0.f, v_pos.y, 0.f); in DrawObjects()
351 static nn::math::VEC3 v_pos(0, 0, 0); // Sphere position in DrawFrame() local
356 UpdateParams(&v_pos, &v_degSphere, &v_deg, v_cam, v_focus, v_acc, loudness); in DrawFrame()
398 DrawObjects(projL, viewL, v_pos, v_degSphere, v_deg, posYforSphere); in DrawFrame()
405 DrawObjects(projR, viewR, v_pos, v_degSphere, v_deg, posYforSphere); in DrawFrame()