Searched refs:phi (Results 1 – 2 of 2) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Body/ |
| D | demo_Cylinder.cpp | 72 f32 phi = deltaPhi * vertexIndex; in InitializeCylinder() local 75 nn::math::SinCosDeg(&sinValue, &cosValue, phi); in InitializeCylinder() 115 f32 phi = static_cast<u32>((deltaPhi * (vertexIndex - 1) + 360.0f)) % 360; in InitializeCylinder() local 118 nn::math::SinCosDeg(&sinValue0, &cosValue0, phi); in InitializeCylinder() 120 phi = deltaPhi * vertexIndex; in InitializeCylinder() 123 nn::math::SinCosDeg(&sinValue1, &cosValue1, phi); in InitializeCylinder() 125 phi = static_cast<u32>(deltaPhi * (vertexIndex + 1)) % 360; in InitializeCylinder() 128 nn::math::SinCosDeg(&sinValue2, &cosValue2, phi); in InitializeCylinder()
|
| D | demo_Sphere.cpp | 74 f32 phi = deltaPhi * phiIndex; in InitializeSphere() local 79 nn::math::SinCosDeg(&sinPhi, &cosPhi, phi); in InitializeSphere()
|