Lines Matching refs:x
210 nn::math::VEC3 v_g(v_acc.x, -1.f, v_acc.y); // Gravitational acceleration in UpdateParams()
213 if(v_g.x > 1.f) v_g.x = 1.f; in UpdateParams()
214 else if(v_g.x < -1.f) v_g.x = -1.f; in UpdateParams()
217 v_deg->x = nn::math::AsinDeg(v_g.x); // Incline of x-axis 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()
249 v_degSphere->x = v_deg->x; in UpdateParams()
263 v_pos->x = 0.f; in UpdateParams()
266 v_v.x = 0.f; in UpdateParams()
316 nn::math::Vector3 trans(v_pos.x, posYforSphere, v_pos.z); in DrawObjects()
319 nn::math::MTX34RotXYZDeg(&arr[1], v_degSphere.y, 0.f, -v_degSphere.x); in DrawObjects()
331 nn::math::MTX34RotXYZDeg(&arr, v_deg.y, 0.f, -v_deg.x); in DrawObjects()
504 GLfloat a[] = {amb.x, amb.y, amb.z, amb.w}; in InitializeGraphics()
505 GLfloat d[] = {dif.x, dif.y, dif.z, dif.w}; in InitializeGraphics()
506 GLfloat s[] = {spc.x, spc.y, spc.z, spc.w}; in InitializeGraphics()