Home
last modified time | relevance | path

Searched refs:q (Results 1 – 12 of 12) sorted by relevance

/CTR-SDK-4.2.5/include/nn/math/ARMv6/inline/
Dmath_Quaternion.ipp110 QUATNormalizeC(QUAT* pOut, const QUAT* __restrict q)
114 NN_NULL_ASSERT( q );
117 mag = (q->x * q->x) + (q->y * q->y) + (q->z * q->z) + (q->w * q->w);
123 pOut->x = q->x * mag;
124 pOut->y = q->y * mag;
125 pOut->z = q->z * mag;
126 pOut->w = q->w * mag;
137 QUATNormalizeC_FAST(QUAT* pOut, const QUAT* __restrict q)
141 NN_NULL_ASSERT( q );
146 x = q->x;
[all …]
Dmath_Types.ipp108 f32 q[3];
133 q[i] = s * 0.5f;
139 q[j] = (m[i][j] + m[j][i]) * s;
140 q[k] = (m[i][k] + m[k][i]) * s;
142 pOut->x = q[0];
143 pOut->y = q[1];
144 pOut->z = q[2];
/CTR-SDK-4.2.5/include/nn/math/inline/
Dmath_Quaternion.ipp63 QUATExp(QUAT* pOut, const QUAT* __restrict q)
68 NN_NULL_ASSERT( q );
71 NN_ASSERT( q->w == 0.0F );
73 theta = ::std::sqrtf( q->x * q->x + q->y * q->y + q->z * q->z );
81 pOut->x = scale * q->x;
82 pOut->y = scale * q->y;
83 pOut->z = scale * q->z;
105 QUATLogN(QUAT* pOut, const QUAT* __restrict q)
110 NN_NULL_ASSERT( q );
112 scale = q->x * q->x + q->y * q->y + q->z * q->z;
[all …]
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Quaternion.h78 NN_MATH_INLINE QUAT* QUATExp(QUAT* pOut, const QUAT* q);
88 NN_FORCE_INLINE QUAT* QUATInverse(QUAT* pOut, const QUAT* __restrict q);
111 NN_MATH_INLINE QUAT* QUATLogN(QUAT* pOut, const QUAT* q);
122 NN_MATH_INLINE QUAT* QUATMakeClosest( QUAT* pOut, const QUAT *q, const QUAT *qto );
143 NN_FORCE_INLINE QUAT* QUATNormalize(QUAT* pOut, const QUAT* __restrict q);
155 NN_MATH_INLINE QUAT* QUATScale(QUAT* pOut, const QUAT* q, f32 scale);
181 …INE QUAT* QUATSquad(QUAT* pOut, const QUAT* p, const QUAT* a, const QUAT* b, const QUAT* q, f32 t);
337 QUATInverse(QUAT* pOut, const QUAT* __restrict q) in QUATInverse() argument
341 return ARMv6::QUATInverseC( pOut, q ); in QUATInverse()
343 return ARMv6::QUATInverseC_FAST( pOut, q); in QUATInverse()
[all …]
Dmath_Types.h304 inline MTX34* QUATToMTX34(MTX34* pOut, const QUAT& q) { return QUATToMTX34( pOut, &q ); } in QUATToMTX34() argument
/CTR-SDK-4.2.5/sources/libraries/math/
Dmath_Equation.cpp136 f32 q = (spow<2>(b) - 3 * c) / 9; in SolveEquation3() local
138 f32 D = spow<3>(q) - spow<2>(r); in SolveEquation3()
143 f32 theta = AcosRad( r / FSqrt(spow<3>(q)) ); in SolveEquation3()
145 f32 r_q2 = -2 * FSqrt(q); in SolveEquation3()
152 f32 xp = r3_Dr + q / r3_Dr; in SolveEquation3()
158 f32 xp = FSqrt(q); in SolveEquation3()
283 f32 q = (spow<2>(b) - 3 * c) / 9; in SolveEquation3() local
285 f32 D = spow<3>(q) - spow<2>(r); in SolveEquation3()
291 f32 theta = AcosRad( r / FSqrt(spow<3>(q)) ); in SolveEquation3()
293 f32 r_q2 = -2 * FSqrt(q); in SolveEquation3()
[all …]
/CTR-SDK-4.2.5/include/nn/math/ARMv6/
Dmath_Quaternion.h27 NN_MATH_INLINE QUAT* QUATNormalizeC(QUAT* pOut, const QUAT* __restrict q);
28 NN_MATH_INLINE QUAT* QUATNormalizeC_FAST(QUAT* pOut, const QUAT* __restrict q);
29 NN_MATH_INLINE QUAT* QUATInverseC(QUAT* pOut, const QUAT* __restrict q);
30 NN_MATH_INLINE QUAT* QUATInverseC_FAST(QUAT* pOut, const QUAT* __restrict q);
/CTR-SDK-4.2.5/sources/libraries/fnd/
Dfnd_HeapBase.cpp110 bit8*& q = reinterpret_cast<bit8*&>(end); in FillMemory8() local
111 while (p != q) in FillMemory8()
125 bit32*& q = reinterpret_cast<bit32*&>(end); in FillMemory32() local
126 while (p != q) in FillMemory32()
/CTR-SDK-4.2.5/include/nn/fnd/
Dfnd_LinkedList.h201 static void InsertBefore(Item* p, Item* q);
234 inline void IntrusiveLinkedList<T, Tag>::InsertBefore(Item* p, Item* q) in InsertBefore() argument
236 q->m_NextLink = p; in InsertBefore()
237 p->m_PreviousLink->m_NextLink = q; in InsertBefore()
238 q->m_PreviousLink = p->m_PreviousLink; in InsertBefore()
239 p->m_PreviousLink = q; in InsertBefore()
421 Item* q = p; in Clear() local
423 ClearLinks(q); in Clear()
Dfnd_Queue.h145 Item* q = p; in Clear() local
147 q->m_NextLink = 0; in Clear()
/CTR-SDK-4.2.5/build/omake/
Dutildefs.om53 return $(grep q, $(pattern), $(open-in-string $(str1)))
Dcommondefs.om246 if $(grep q, $",", $(open-in-string $(TARGET_FILTER)))