Home
last modified time | relevance | path

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

/CTR-SDK-4.2.5/include/nn/math/inline/
Dmath_Quaternion.ipp65 f32 theta, scale;
73 theta = ::std::sqrtf( q->x * q->x + q->y * q->y + q->z * q->z );
76 if ( theta > NN_QUAT_EPSILON )
78 scale = (f32)::std::sinf(theta) / theta;
84 pOut->w = (f32)::std::cosf(theta);
107 f32 theta, scale;
115 theta = ::std::atan2f( scale, q->w );
119 scale = theta / scale;
196 f32 theta, sin_th, cos_th, tp, tq;
213 theta = ::std::acosf(cos_th);
[all …]
/CTR-SDK-4.2.5/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-4.2.5/include/nn/math/
Dmath_Matrix34.h761 self_type& SetupRotate(const VEC3& axis, f32 theta) in SetupRotate() argument
763 return *MTX34RotAxisRad(this, &axis, theta); in SetupRotate()