Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/demo2/
Dgraphics.h24 int DrawFrame(nn::math::VEC3 v_cam, nn::math::VEC3 v_focus, nn::math::VEC2 v_acc, u8 loudness);
Dgraphics.cpp197 const nn::math::VEC3 v_cam, // Camera position in UpdateParams() argument
223 nn::math::VEC3 v_f(v_focus - v_cam); // Focus vector from camera in UpdateParams()
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()
342 int DrawFrame(nn::math::VEC3 v_cam, nn::math::VEC3 v_focus, nn::math::VEC2 v_acc, u8 loudness) in DrawFrame() argument
356 UpdateParams(&v_pos, &v_degSphere, &v_deg, v_cam, v_focus, v_acc, loudness); in DrawFrame()
380 nn::math::MTX34LookAt(&cam, &v_cam, &camUp, &v_focus); in DrawFrame()