Home
last modified time | relevance | path

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

/CTR-SDK-0.14.4/include/nn/math/ARMv6/inline/
Dmath_Quaternion.ipp104 @param[out] pOut 計算結果を受け取るバッファへのポインタ。q と同じクォータニオンを指していても構いません。
105 @param[in] q 正規化するクォータニオンへのポインタ
110 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)
[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-0.14.4/include/nn/math/inline/
Dmath_Quaternion.ipp128 q と同じクォータニオンを指していても構いません。
129 @param[in] q 左辺値へのポインタ
135 QUATScale(QUAT* pOut, const QUAT* q, f32 scale)
138 NN_NULL_ASSERT( q );
140 pOut->x = q->x * scale;
141 pOut->y = q->y * scale;
142 pOut->z = q->z * scale;
143 pOut->w = q->w * scale;
153 q と同じクォータニオンを指していても構いません。
154 @param[in] q 指数値となるクォータニオンへのポインタ。
[all …]
/CTR-SDK-0.14.4/include/nn/math/
Dmath_Quaternion.h34 NN_MATH_INLINE QUAT* QUATInverse(QUAT* pOut, const QUAT* q);
35 NN_MATH_INLINE QUAT* QUATScale(QUAT* pOut, const QUAT* q, f32 scale);
36 NN_MATH_INLINE QUAT* QUATNormalize(QUAT* pOut, const QUAT* q);
37 NN_MATH_INLINE QUAT* QUATExp(QUAT* pOut, const QUAT* q);
38 NN_MATH_INLINE QUAT* QUATLogN(QUAT* pOut, const QUAT* q);
42 …INE QUAT* QUATSquad(QUAT* pOut, const QUAT* p, const QUAT* a, const QUAT* b, const QUAT* q, f32 t);
44 NN_MATH_INLINE QUAT* QUATMakeClosest( QUAT* pOut, const QUAT *q, const QUAT *qto );
48 NN_FORCE_INLINE QUAT* QUATInverse(QUAT* pOut, const QUAT* __restrict q);
50 NN_FORCE_INLINE QUAT* QUATNormalize(QUAT* pOut, const QUAT* __restrict q);
128 QUATInverse(QUAT* pOut, const QUAT* __restrict q) in QUATInverse() argument
[all …]
Dmath_Geometry.h459 f32 DistSqPoint3ToAABB(const VEC3* P, const AABB* B, VEC3* q);
Dmath_Matrix34.h1085 inline MTX34* QUATToMTX34(MTX34* pOut, const QUAT& q) { return QUATToMTX34( pOut, &q ); } in QUATToMTX34() argument
/CTR-SDK-0.14.4/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 …]
Dmath_Geometry.cpp430 DistSqPoint3ToAABB(const VEC3* P, const AABB* B, VEC3* q) in DistSqPoint3ToAABB() argument
447 if (q) in DistSqPoint3ToAABB()
448 q->x = vv; in DistSqPoint3ToAABB()
461 if (q) in DistSqPoint3ToAABB()
462 q->y = vv; in DistSqPoint3ToAABB()
475 if (q) in DistSqPoint3ToAABB()
476 q->z = vv; in DistSqPoint3ToAABB()
/CTR-SDK-0.14.4/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-0.14.4/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-0.14.4/include/nn/fnd/
Dfnd_LinkedList.h201 static void InsertBefore(Item* p, Item* q);
233 inline void IntrusiveLinkedList<T, Tag>::InsertBefore(Item* p, Item* q) in InsertBefore() argument
235 q->m_NextLink = p; in InsertBefore()
236 p->m_PreviousLink->m_NextLink = q; in InsertBefore()
237 q->m_PreviousLink = p->m_PreviousLink; in InsertBefore()
238 p->m_PreviousLink = q; in InsertBefore()
420 Item* q = p; in Clear() local
422 ClearLinks(q); in Clear()
Dfnd_Queue.h145 Item* q = p; in Clear() local
147 q->m_NextLink = 0; in Clear()
/CTR-SDK-0.14.4/build/omake/
Dutildefs.om31 return $(grep q, $(pattern), $(open-in-string $(str1)))
Dtargetdefs.om520 if $(grep q, $",", $(open-in-string $(TARGET_FILTER)))