Searched refs:sinPhi (Results 1 – 2 of 2) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Body/ |
| D | demo_Sphere.cpp | 77 f32 sinPhi = 0.0f; in InitializeSphere() local 79 nn::math::SinCosDeg(&sinPhi, &cosPhi, phi); in InitializeSphere() 87 m_Radius * cosTheta, m_Radius * sinPhi * sinTheta); in InitializeSphere()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/FragmentLightingSimple/ |
| D | gx_FragmentLightingSimple.cpp | 335 f32 sinPhi = 0.0f; in UpdateLights() local 337 nn::math::SinCosDeg(&sinPhi, &cosPhi, s_LightPhi[0]); in UpdateLights() 340 s_LightArray[lightIndex].m_Position[2] = s_LightRadius * sinPhi; in UpdateLights() 344 nn::math::SinCosDeg(&sinPhi, &cosPhi, s_LightPhi[1]); in UpdateLights() 347 s_LightArray[lightIndex].m_Position[2] = s_LightRadius * sinPhi; in UpdateLights() 351 nn::math::SinCosDeg(&sinPhi, &cosPhi, s_LightPhi[2]); in UpdateLights() 353 s_LightArray[lightIndex].m_Position[1] = s_LightRadius * sinPhi; in UpdateLights() 358 nn::math::SinCosDeg(&sinPhi, &cosPhi, s_LightPhi[3]); in UpdateLights() 361 s_LightArray[lightIndex].m_Position[2] = s_LightRadius * sinPhi; in UpdateLights()
|