Lines Matching refs:y
210 nn::math::VEC3 v_g(v_acc.x, -1.f, v_acc.y); // Gravitational acceleration in UpdateParams()
218 v_deg->y = nn::math::AsinDeg(v_g.z); // Incline of z-axis in UpdateParams()
245 v_g.y = 0; in UpdateParams()
246 v_s.y = 0; in UpdateParams()
250 v_degSphere->y = v_deg->y; in UpdateParams()
252 else if( v_pos->y > -50.f ) in UpdateParams()
255 v_v.y += v_g.y * SPEED; in UpdateParams()
264 v_pos->y = 0.f; in UpdateParams()
267 v_v.y = 0.f; in UpdateParams()
317 nn::math::Vector3 fall(0.f, v_pos.y, 0.f); 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()