Home
last modified time | relevance | path

Searched refs:theta (Results 1 – 3 of 3) sorted by relevance

/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/inline/
Dmath_Quaternion.ipp162 f32 theta, scale;
170 theta = ::std::sqrtf( q->x * q->x + q->y * q->y + q->z * q->z );
173 if ( theta > NN_QUAT_EPSILON )
175 scale = (f32)::std::sinf(theta) / theta;
181 pOut->w = (f32)::std::cosf(theta);
199 f32 theta, scale;
207 theta = ::std::atan2f( scale, q->w );
211 scale = theta / scale;
262 f32 theta, sin_th, cos_th, tp, tq;
279 theta = ::std::acosf(cos_th);
[all …]
/CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/
Dmath_Equation.cpp143 f32 theta = AcosRad( r / FSqrt(spow<3>(q)) ); in SolveEquation3() local
144 f32 theta_3 = theta/3; in SolveEquation3()
291 f32 theta = AcosRad( r / FSqrt(spow<3>(q)) ); in SolveEquation3() local
292 f32 theta_3 = theta/3; in SolveEquation3()
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/
Dmath_Matrix34.h360 self_type& SetupRotate(const VEC3& axis, f32 theta) in SetupRotate()
362 return *MTX34RotAxisRad(this, &axis, theta); in SetupRotate()