Home
last modified time | relevance | path

Searched refs:NN_MATH_INLINE (Results 1 – 25 of 40) sorted by relevance

12

/CTR-SDK-0.14.21/include/nn/math/ARMv6/
Dmath_Matrix34.h46 NN_MATH_INLINE MTX34* MTX34ScaleC_FAST(MTX34* pOut, const VEC3* pS);
47 NN_MATH_INLINE MTX34* MTX34TranslateC_FAST(MTX34* pOut, const VEC3* pT);
48 NN_MATH_INLINE MTX34* MTX34RotAxisRad_C_FAST( MTX34* pOut, const VEC3 *pAxis, f32 fRad );
49 NN_MATH_INLINE MTX34* MTX34RotXYZFIdxC_FAST(MTX34* pOut, f32 fIdxX, f32 fIdxY, f32 fIdxZ);
50 NN_MATH_INLINE MTX34* MTX34LookAtC_FAST(MTX34* pOut, const VEC3* pCamPos, const VEC3* pCamUp, const…
51 NN_MATH_INLINE MTX34* MTX34LookAtC_FAST(MTX34* pOut, const VEC3* pCamPos, f32 twist, const VEC3* pT…
52 NN_MATH_INLINE MTX34* MTX34CameraRotateC_FAST(MTX34* pOut, const VEC3* pCamPos, const VEC3* pCamRot…
53 NN_MATH_INLINE MTX34* QUATToMTX34C_FAST(MTX34* pOut, const QUAT* pQ);
56 NN_MATH_INLINE VEC3* VEC3TransformC(VEC3* pOut, const MTX34* __restrict pM, const VEC3* __restrict…
57 NN_MATH_INLINE MTX34* MTX34CopyC(MTX34* pOut, const MTX34* p);
[all …]
Dmath_Matrix44.h23 NN_MATH_INLINE VEC4* VEC3TransformC(VEC4* pOut, const MTX44* pM, const VEC3* pV);
24 NN_MATH_INLINE MTX44* MTX44CopyC(MTX44* pOut, const MTX44* p);
25 NN_MATH_INLINE MTX44* MTX44AddC(MTX44* pOut, const MTX44* p1, const MTX44* p2);
26 NN_MATH_INLINE MTX44* MTX44MultC(MTX44* pOut, const MTX44* p, f32 f);
27 NN_MATH_INLINE MTX44* MTX44TransposeC(MTX44* pOut, const MTX44 *pSrc);
28 NN_MATH_INLINE MTX44* MTX44PerspectiveRadC(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f);
29 NN_MATH_INLINE MTX44* MTX44PerspectiveRadC_FAST(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f);
30 NN_MATH_INLINE MTX44* MTX44FrustumC(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
31 NN_MATH_INLINE MTX44* MTX44FrustumC_FAST(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
32 NN_MATH_INLINE MTX44* MTX44OrthoC(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
[all …]
Dmath_Types.h41 NN_MATH_INLINE MTX33* MTX34ToMTX33C(MTX33* pOut, const MTX34* pM);
42 NN_MATH_INLINE MTX34* MTX33ToMTX34C(MTX34* pOut, const MTX33* pM);
43 NN_MATH_INLINE QUAT* MTX34ToQUATC(QUAT* pOut, const MTX34* pMtx);
44 NN_MATH_INLINE MTX43* MTX34TransposeC(MTX43* pOut, const MTX34* p);
45 NN_MATH_INLINE MTX34* MTX43TransposeC(MTX34* pOut, const MTX43* p);
52 NN_MATH_INLINE MTX34* MTX33ToMTX34C_FAST(MTX34* pOut, const MTX33* pM);
53 NN_MATH_INLINE QUAT* MTX34ToQUATC_FAST(QUAT* pOut, const MTX34* pMtx);
Dmath_Quaternion.h25 NN_MATH_INLINE QUAT* QUATMultC(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2);
26 NN_MATH_INLINE QUAT* QUATMultC_FAST(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q…
27 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);
Dmath_Matrix43.h29 NN_MATH_INLINE MTX43* MTX43CopyC(MTX43* pOut, const MTX43* p);
30 NN_MATH_INLINE MTX43* MTX43AddC(MTX43* pOut, const MTX43* p1, const MTX43* p2);
31 NN_MATH_INLINE MTX43* MTX43MultC(MTX43* pOut, const MTX43* p1, const MTX43* p2);
32 NN_MATH_INLINE MTX43* MTX43MultC(MTX43* pOut, const MTX43* p, f32 f);
Dmath_Matrix33.h33 NN_MATH_INLINE MTX33* MTX33CopyC(MTX33* pOut, const MTX33* p);
34 NN_MATH_INLINE MTX33* MTX33MAddC(MTX33* pOut, f32 t, const MTX33* p1, const MTX33* p2);
35 NN_MATH_INLINE MTX33* MTX33MAddC_FAST(MTX33* pOut, f32 t, const MTX33* p1, const MTX33* p2);
36 NN_MATH_INLINE VEC3* VEC3TransformC(VEC3* pOut, const MTX33* pM, const VEC3* pV);
Dmath_Vector3.h26 NN_MATH_INLINE VEC3* VEC3NormalizeC(VEC3* pOut, const VEC3* p);
27 NN_MATH_INLINE VEC3* VEC3NormalizeC_FAST(VEC3* pOut, const VEC3* p);
/CTR-SDK-0.14.21/include/nn/math/
Dmath_Matrix23.h34 NN_MATH_INLINE MTX23* MTX23Copy(MTX23* pOut, const MTX23* p);
35 NN_MATH_INLINE MTX23* MTX23Zero(MTX23* pOut);
36 NN_MATH_INLINE MTX23* MTX23Identity(MTX23* pOut);
37 NN_MATH_INLINE bool MTX23IsIdentity(const MTX23* p);
38 NN_MATH_INLINE MTX23* MTX23Add(MTX23* pOut, const MTX23* p1, const MTX23* p2);
39 NN_MATH_INLINE MTX23* MTX23Sub(MTX23* pOut, const MTX23* p1, const MTX23* p2);
40 NN_MATH_INLINE MTX23* MTX23Mult(MTX23* pOut, const MTX23* p, f32 f);
41 NN_MATH_INLINE MTX23* MTX23Mult(MTX23* pOut, const MTX23* p1, const MTX23* p2);
42 NN_MATH_INLINE MTX23* MTX23Scale(MTX23* pOut, const MTX23* pM, const VEC2* pS);
43 NN_MATH_INLINE MTX23* MTX23Translate(MTX23* pOut, const MTX23* pM, const VEC2* pT);
[all …]
Dmath_Transform.h118 NN_MATH_INLINE VEC3* VEC3Transform(VEC3* pOut, const MTX33* pM, const VEC3* pV);
119 NN_MATH_INLINE VEC3* VEC3Transform(VEC3* pOut, const MTX34* pM, const VEC3* pV);
120 NN_MATH_INLINE VEC4* VEC3Transform(VEC4* pOut, const MTX44* pM, const VEC3* pV);
121 NN_MATH_INLINE VEC3* VEC3TransformArray(VEC3* pOut, const MTX34* pM, const VEC3* pV, s32 count);
122 NN_MATH_INLINE VEC4* VEC3TransformArray(VEC4* pOut, const MTX44* pM, const VEC3* pV, u32 count);
124 NN_MATH_INLINE VEC3* VEC3TransformNormal(VEC3* pOut, const MTX34* pM, const VEC3* pV);
125 NN_MATH_INLINE VEC3* VEC3TransformNormalArray(VEC3* pOutArray, const MTX34* pM, const VEC3* pArray,…
127 NN_MATH_INLINE VEC3* VEC3TransformCoord(VEC3* pOut, const MTX44* pM, const VEC3* pV);
128 NN_MATH_INLINE VEC3* VEC3TransformCoordArray(VEC3* pOut, const MTX44* pM, const VEC3* pV, u32 count…
130 NN_MATH_INLINE VEC4* VEC4Transform(VEC4* pOut, const MTX44* pM, const VEC4* pV);
[all …]
Dmath_Vector4.h33 NN_MATH_INLINE bool VEC4IsZero(const VEC4* p);
34 NN_MATH_INLINE bool VEC4IsZeroWOne(const VEC4* p);
35 NN_MATH_INLINE VEC4* VEC4Add(VEC4* pOut, const VEC4* p1, const VEC4* p2);
36 NN_MATH_INLINE VEC4* VEC4Sub(VEC4* pOut, const VEC4* p1, const VEC4* p2);
37 NN_MATH_INLINE VEC4* VEC4Mult(VEC4* pOut, const VEC4* p1, const VEC4* p2);
38 NN_MATH_INLINE VEC4* VEC4Scale(VEC4* pOut, const VEC4* p, f32 scale);
39 NN_MATH_INLINE VEC4* VEC4Lerp(VEC4* pOut, const VEC4* p1, const VEC4* p2, f32 t);
40 NN_MATH_INLINE f32 VEC4Dot(const VEC4* p1, const VEC4* p2);
41 NN_MATH_INLINE f32 VEC4LenSq(const VEC4* p);
42 NN_MATH_INLINE f32 VEC4Len(const VEC4* p);
[all …]
Dmath_Quaternion.h29 NN_MATH_INLINE QUAT* QUATAdd(QUAT* pOut, const QUAT* q1, const QUAT* q2);
30 NN_MATH_INLINE QUAT* QUATSub(QUAT* pOut, const QUAT* q1, const QUAT* q2);
31 NN_MATH_INLINE QUAT* QUATDivide(QUAT* pOut, const QUAT* q1, const QUAT* q2);
32 NN_MATH_INLINE QUAT* QUATMult(QUAT* pOut, const QUAT* q1, const QUAT* q2);
33 NN_MATH_INLINE f32 QUATDot(const QUAT* q1, const QUAT* q2);
34 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);
[all …]
Dmath_Matrix22.h34 NN_MATH_INLINE MTX22* MTX22Identity(MTX22* pOut);
35 NN_MATH_INLINE bool MTX22IsIdentity(const MTX22* p);
36 NN_MATH_INLINE MTX22* MTX22Copy(MTX22* pOut, const MTX22* p);
37 NN_MATH_INLINE MTX22* MTX22Zero(MTX22* pOut);
38 NN_MATH_INLINE MTX22* MTX23ToMTX22(MTX22* pOut, const MTX23* pM);
39 NN_MATH_INLINE MTX22* MTX22MAdd(MTX22* pOut, f32 t, const MTX22* p1, const MTX22* p2);
Dmath_Matrix34.h34 NN_MATH_INLINE MTX34* MTX34Zero(MTX34* pOut);
35 NN_MATH_INLINE bool MTX34IsIdentity(const MTX34* p);
36 NN_MATH_INLINE MTX34* MTX34Identity(MTX34* pOut);
37 NN_MATH_INLINE MTX34* MTX34Copy(MTX34* pOut, const MTX34* p);
39 NN_MATH_INLINE MTX34* MTX34Add(MTX34* pOut, const MTX34* p1, const MTX34* p2);
40 NN_MATH_INLINE MTX34* MTX34Sub(MTX34* pOut, const MTX34* p1, const MTX34* p2);
41 NN_MATH_INLINE MTX34* MTX34Mult(MTX34* pOut, const MTX34* p, f32 f);
42 NN_MATH_INLINE MTX34* MTX34Mult(MTX34* pOut, const MTX34* p1, const MTX34* p2);
43 NN_MATH_INLINE MTX34* MTX34MAdd(MTX34* pOut, f32 t, const MTX34* p1, const MTX34* p2);
45 NN_MATH_INLINE MTX33* MTX34ToMTX33(MTX33* pOut, const MTX34* pM);
[all …]
Dmath_Matrix33.h70 NN_MATH_INLINE bool MTX33IsIdentity(const MTX33* p);
71 NN_MATH_INLINE MTX33* MTX33Copy(MTX33* pOut, const MTX33* p);
72 NN_MATH_INLINE MTX33* MTX33Zero(MTX33* pOut);
73 NN_MATH_INLINE MTX33* MTX33Identity(MTX33* pOut);
74 NN_MATH_INLINE MTX33* MTX33MAdd(MTX33* pOut, f32 t, const MTX33* p1, const MTX33* p2);
76 NN_MATH_INLINE u32 MTX34InvTranspose(MTX33* pOut, const MTX34* p);
78 NN_MATH_INLINE MTX33* MTX34ToMTX33(MTX33* pOut, const MTX34* pM);
79 NN_MATH_INLINE MTX34* MTX33ToMTX34(MTX34* pOut, const MTX33* pM);
Dmath_Types.h53 NN_MATH_INLINE MTX33* MTX34ToMTX33(MTX33* pOut, const MTX34* pM);
54 NN_MATH_INLINE MTX34* MTX33ToMTX34(MTX34* pOut, const MTX33* pM);
56 NN_MATH_INLINE MTX34* MTX43Transpose(MTX34* pOut, const MTX43* p);
57 NN_MATH_INLINE MTX43* MTX34Transpose(MTX43* pOut, const MTX34* p);
Dmath_Matrix44.h56 NN_MATH_INLINE MTX44* MTX44Zero(MTX44* pOut);
57 NN_MATH_INLINE bool MTX44IsIdentity(const MTX44* p);
58 NN_MATH_INLINE MTX44* MTX44Identity(MTX44* pOut);
59 NN_MATH_INLINE MTX44* MTX44Copy(MTX44* pOut, const MTX44* p);
61 NN_MATH_INLINE MTX44* MTX44Add(MTX44* pOut, const MTX44* p1, const MTX44* p2);
62 NN_MATH_INLINE MTX44* MTX44Sub(MTX44* pOut, const MTX44* p1, const MTX44* p2);
63 NN_MATH_INLINE MTX44* MTX44Mult(MTX44* pOut, const MTX44* p, f32 f);
64 NN_MATH_INLINE MTX44* MTX44Mult(MTX44* pOut, const MTX44* p1, const MTX44* p2);
66 NN_MATH_INLINE MTX44* MTX44Frustum(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
67 NN_MATH_INLINE MTX44* MTX44Ortho(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
[all …]
Dmath_Vector2.h31 NN_MATH_INLINE bool VEC2IsZero(const VEC2* p);
33 NN_MATH_INLINE VEC2* VEC2Lerp(VEC2* pOut, const VEC2* p1, const VEC2* p2, f32 t);
34 NN_MATH_INLINE f32 VEC2Dot(const VEC2* p1, const VEC2* p2);
35 NN_MATH_INLINE VEC2* VEC2Maximize(VEC2* pOut, const VEC2* p1, const VEC2* p2);
36 NN_MATH_INLINE VEC2* VEC2Minimize(VEC2* pOut, const VEC2* p1, const VEC2* p2);
37 NN_MATH_INLINE VEC2* VEC2Normalize(VEC2* pOut, const VEC2* p);
38 NN_MATH_INLINE VEC2* VEC2SafeNormalize(VEC2* pOut, const VEC2* p, const VEC2& alt);
39 NN_MATH_INLINE f32 VEC2DistSq(const VEC2* p1, const VEC2* p2);
40 NN_MATH_INLINE VEC2* VEC2Transform(VEC2* pOut, const MTX23* pM, const VEC2* pV);
Dmath_Matrix43.h33 NN_MATH_INLINE MTX43* MTX43Zero(MTX43* pOut);
34 NN_MATH_INLINE MTX43* MTX43Identity(MTX43* pOut);
35 NN_MATH_INLINE bool MTX43IsIdentity(const MTX43* p);
36 NN_MATH_INLINE MTX43* MTX43Copy(MTX43* pOut, const MTX43* p);
37 NN_MATH_INLINE MTX43* MTX43Add(MTX43* pOut, const MTX43* p1, const MTX43* p2);
38 NN_MATH_INLINE MTX43* MTX43Sub(MTX43* pOut, const MTX43* p1, const MTX43* p2);
39 NN_MATH_INLINE MTX43* MTX43Mult(MTX43* pOut, const MTX43* p1, const MTX43* p2);
40 NN_MATH_INLINE MTX43* MTX43Mult(MTX43* pOut, const MTX43* p, f32 f);
/CTR-SDK-0.14.21/include/nn/math/inline/
Dmath_Vector4.ipp34 NN_MATH_INLINE bool
47 NN_MATH_INLINE bool
62 NN_MATH_INLINE VEC4*
82 NN_MATH_INLINE VEC4*
102 NN_MATH_INLINE VEC4*
121 NN_MATH_INLINE VEC4*
142 NN_MATH_INLINE VEC4*
162 NN_MATH_INLINE f32
176 NN_MATH_INLINE f32
204 NN_MATH_INLINE VEC4*
[all …]
Dmath_Vector2.ipp35 NN_MATH_INLINE bool
50 NN_MATH_INLINE VEC2*
69 NN_MATH_INLINE VEC2*
87 NN_MATH_INLINE VEC2*
105 NN_MATH_INLINE VEC2*
Dmath_Matrix22.ipp33 NN_MATH_INLINE bool
48 NN_MATH_INLINE MTX22*
69 NN_MATH_INLINE MTX22*
86 NN_MATH_INLINE MTX22*
106 NN_MATH_INLINE MTX22*
Dmath_Matrix23.ipp36 NN_MATH_INLINE MTX23*
57 NN_MATH_INLINE MTX23*
75 NN_MATH_INLINE MTX23*
92 NN_MATH_INLINE bool
110 NN_MATH_INLINE MTX23*
137 NN_MATH_INLINE MTX23*
164 NN_MATH_INLINE MTX23*
190 NN_MATH_INLINE MTX23*
235 NN_MATH_INLINE MTX23*
265 NN_MATH_INLINE MTX23*
[all …]
Dmath_Vector3.ipp37 NN_MATH_INLINE bool
52 NN_MATH_INLINE VEC3*
73 NN_MATH_INLINE VEC3*
94 NN_MATH_INLINE VEC3*
125 NN_MATH_INLINE VEC3*
168 NN_MATH_INLINE f32
Dmath_Quaternion.ipp38 NN_MATH_INLINE QUAT*
64 NN_MATH_INLINE QUAT*
90 NN_MATH_INLINE QUAT*
114 NN_MATH_INLINE f32
134 NN_MATH_INLINE QUAT*
159 NN_MATH_INLINE QUAT*
196 NN_MATH_INLINE QUAT*
233 NN_MATH_INLINE QUAT*
259 NN_MATH_INLINE QUAT*
312 NN_MATH_INLINE QUAT*
[all …]
Dmath_Matrix34.ipp38 NN_MATH_INLINE MTX34*
55 NN_MATH_INLINE MTX34*
73 NN_MATH_INLINE bool
90 NN_MATH_INLINE MTX34*
121 NN_MATH_INLINE MTX34*
142 NN_MATH_INLINE MTX34*
160 NN_MATH_INLINE u32
180 NN_MATH_INLINE MTX34*
217 NN_MATH_INLINE MTX34*
259 NN_MATH_INLINE MTX34*
[all …]

12