Lines Matching refs:MTX44

54 struct MTX44;
56 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);
68 NN_MATH_INLINE MTX44* MTX44PerspectiveRad(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f);
69 NN_MATH_INLINE MTX44* MTX44Transpose(MTX44* pOut, const MTX44 *pSrc);
70 NN_MATH_INLINE MTX44* MTX44MultArray(MTX44* pOut, const MTX44* p1, const MTX44* pSrc, s32 count);
71 NN_MATH_INLINE u32 MTX44Inverse(MTX44* pOut, const MTX44* p);
73 NN_MATH_INLINE MTX44* MTX44RotXYZFIdx(MTX44* pOut, f32 fIdxX, f32 fIdxY, f32 fIdxZ);
74 NN_MATH_INLINE MTX44* MTX44RotAxisFIdx(MTX44* pOut, const VEC3* pAxis, f32 fIdx);
76 NN_MATH_INLINE MTX44* MTX44Scale(MTX44* pOut, const VEC3* pS);
77 NN_MATH_INLINE MTX44* MTX44MultScale(MTX44* pOut, const MTX44* pM, const VEC3* pS);
78 NN_MATH_INLINE MTX44* MTX44MultScale(MTX44* pOut, const VEC3* pS, const MTX44* pM);
80 NN_MATH_INLINE MTX44* MTX44Translate(MTX44* pOut, const VEC3* pT);
81 NN_MATH_INLINE MTX44* MTX44MultTranslate(MTX44* pOut, const MTX44* pM, const VEC3* pT);
82 NN_MATH_INLINE MTX44* MTX44MultTranslate(MTX44* pOut, const VEC3* pT, const MTX44* pM);
84 NN_MATH_INLINE MTX44* MTX44FrustumPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, Pivo…
85 NN_MATH_INLINE MTX44* MTX44OrthoPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotD…
86 NN_MATH_INLINE MTX44* MTX44PerspectivePivotRad(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f, Piv…
88 NN_FORCE_INLINE MTX44* MTX44Add(MTX44* pOut, const MTX44* p1, const MTX44* p2);
89 NN_FORCE_INLINE MTX44* MTX44Copy(MTX44* pOut, const MTX44* p);
90 NN_FORCE_INLINE MTX44* MTX44Frustum(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
91 NN_FORCE_INLINE u32 MTX44Inverse(MTX44* pOut, const MTX44* p);
92 NN_FORCE_INLINE MTX44* MTX44Mult(MTX44* pOut, const MTX44* __restrict p1, const MTX44* __restrict p…
93 NN_FORCE_INLINE MTX44* MTX44Mult(MTX44* pOut, const MTX44* p, f32 f);
94 NN_FORCE_INLINE MTX44* MTX44MultScale(MTX44* pOut, const MTX44* pM, const VEC3* pS);
95 NN_FORCE_INLINE MTX44* MTX44MultScale(MTX44* pOut, const VEC3* pS, const MTX44* pM);
96 NN_FORCE_INLINE MTX44* MTX44MultTranslate(MTX44* pOut, const VEC3* pT, const MTX44* pM);
97 NN_FORCE_INLINE MTX44* MTX44MultTranslate(MTX44* pOut, const MTX44* pM, const VEC3* pT);
98 NN_FORCE_INLINE MTX44* MTX44Ortho(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
99 NN_FORCE_INLINE MTX44* MTX44PerspectiveRad(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f);
100 NN_FORCE_INLINE MTX44* MTX44RotAxisRad_( MTX44* pOut, const VEC3 *pAxis, f32 fRad );
101 NN_FORCE_INLINE MTX44* MTX44RotXYZFIdx(MTX44* pOut, f32 fIdxX, f32 fIdxY, f32 fIdxZ);
102 NN_FORCE_INLINE MTX44* MTX44Scale(MTX44* pOut, const VEC3* pS);
103 NN_FORCE_INLINE MTX44* MTX44Translate(MTX44* pOut, const VEC3* pT);
104 NN_FORCE_INLINE MTX44* MTX44Transpose(MTX44* pOut, const MTX44 *pSrc);
106 NN_FORCE_INLINE VEC4* VEC3Transform(VEC4* pOut, const MTX44* pM, const VEC3* pV);
108 NN_FORCE_INLINE MTX44* MTX44Pivot( MTX44* pOut, PivotDirection pivot );
126 inline MTX44*
127 MTX44PerspectiveDeg(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f) in MTX44PerspectiveDeg()
135 inline MTX44*
136 MTX44Perspective(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f) in MTX44Perspective()
152 inline MTX44*
153 MTX44PerspectivePivotDeg(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f, PivotDirection pivot = PI…
169 inline MTX44*
170 MTX44RotXYZRad(MTX44* pOut, f32 fRadX, f32 fRadY, f32 fRadZ) in MTX44RotXYZRad()
185 inline MTX44*
186 MTX44RotXYZDeg(MTX44* pOut, f32 fDegX, f32 fDegY, f32 fDegZ) in MTX44RotXYZDeg()
200 inline MTX44*
201 MTX44RotAxisRad(MTX44* pOut, const VEC3* pAxis, f32 fRad) in MTX44RotAxisRad()
215 inline MTX44*
216 MTX44RotAxisDeg(MTX44* pOut, const VEC3* pAxis, f32 fDeg) in MTX44RotAxisDeg()
257 struct MTX44 : public MTX44_ struct
264 static const MTX44& Identity() in Identity() argument
266 static const MTX44 identity( in Identity()
274 typedef MTX44 self_type; //!< 自分の型です。 argument
283 MTX44() {} in MTX44() argument
286 MTX44(const f32* p) { (void)MTX44Copy(this, (MTX44*)p); } in MTX44() argument
289 MTX44(const MTX34& rhs) in MTX44() argument
296 MTX44(const MTX44& rhs) { (void)MTX44Copy(this, &rhs); } in MTX44() argument
299 MTX44(f32 x00, f32 x01, f32 x02, f32 x03, in MTX44() function
375 return MTX44(-f._00, -f._01, -f._02, -f._03,
381 …self_type operator + (const self_type& rhs) const { MTX44 tmp; return *MTX44Add(&tmp, this, &rhs);… argument
382 …self_type operator - (const self_type& rhs) const { MTX44 tmp; return *MTX44Sub(&tmp, this, &rhs);… argument
384 self_type operator * (f32 f) const { MTX44 tmp; return *MTX44Mult(&tmp, this, f); } argument
484 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX44)) ==…
487 …bool operator != (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX44)) !=…
497 typedef struct MTX44 Matrix44;
525 NN_FORCE_INLINE MTX44*
526 MTX44Add(MTX44* pOut, const MTX44* p1, const MTX44* p2) in MTX44Add()
551 NN_FORCE_INLINE MTX44*
552 MTX44Copy(MTX44* pOut, const MTX44* p) in MTX44Copy()
581 NN_FORCE_INLINE MTX44*
582 MTX44Frustum(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f) in MTX44Frustum()
606 MTX44Inverse(MTX44* pOut, const MTX44* p) in MTX44Inverse()
630 NN_FORCE_INLINE MTX44*
631 MTX44Mult(MTX44* pOut, const MTX44* __restrict p1, const MTX44* __restrict p2) in MTX44Mult()
655 NN_FORCE_INLINE MTX44*
656 MTX44Mult(MTX44* pOut, const MTX44* p, f32 f) in MTX44Mult()
680 NN_FORCE_INLINE MTX44*
681 MTX44MultScale(MTX44* pOut, const MTX44* pM, const VEC3* pS) in MTX44MultScale()
706 NN_FORCE_INLINE MTX44*
707 MTX44MultScale(MTX44* pOut, const VEC3* pS, const MTX44* pM) in MTX44MultScale()
731 NN_FORCE_INLINE MTX44*
732 MTX44MultTranslate(MTX44* pOut, const VEC3* pT, const MTX44* pM) in MTX44MultTranslate()
756 NN_FORCE_INLINE MTX44*
757 MTX44MultTranslate(MTX44* pOut, const MTX44* pM, const VEC3* pT) in MTX44MultTranslate()
785 NN_FORCE_INLINE MTX44*
786 MTX44Ortho(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f) in MTX44Ortho()
812 NN_FORCE_INLINE MTX44*
813 MTX44PerspectiveRad(MTX44* pOut, f32 fovy, f32 aspect, f32 n, f32 f) in MTX44PerspectiveRad()
838 NN_FORCE_INLINE MTX44*
839 MTX44RotAxisRad_( MTX44* pOut, const VEC3 *pAxis, f32 fRad ) in MTX44RotAxisRad_()
865 NN_FORCE_INLINE MTX44*
866 MTX44RotXYZFIdx(MTX44* pOut, f32 fIdxX, f32 fIdxY, f32 fIdxZ) in MTX44RotXYZFIdx()
889 NN_FORCE_INLINE MTX44*
890 MTX44Scale(MTX44* pOut, const VEC3* pS) in MTX44Scale()
912 NN_FORCE_INLINE MTX44*
913 MTX44Translate(MTX44* pOut, const VEC3* pT) in MTX44Translate()
936 NN_FORCE_INLINE MTX44*
937 MTX44Transpose(MTX44* pOut, const MTX44 *pSrc) in MTX44Transpose()
971 VEC3Transform(VEC4* pOut, const MTX44* pM, const VEC3* pV) in VEC3Transform()
1003 NN_FORCE_INLINE MTX44*
1004 MTX44Pivot( MTX44* pOut, PivotDirection pivot ) in MTX44Pivot()
1025 inline MTX44* MTX44Copy(MTX44* pOut, const MTX44& m) { return MTX44Copy( pOut, &m ); } in MTX44Copy()
1026 inline bool MTX44IsIdentity(const MTX44& m) { return MTX44IsIdentity( &m ); } in MTX44IsIdentity()
1028 inline MTX44* MTX44Add(MTX44* pOut, const MTX44& m1, const MTX44& m2) { return MTX44Add( pOut, &m1,… in MTX44Add()
1029 inline MTX44* MTX44Sub(MTX44* pOut, const MTX44& m1, const MTX44& m2) { return MTX44Sub( pOut, &m1,… in MTX44Sub()
1030 inline MTX44* MTX44Mult(MTX44* pOut, const MTX44& m, f32 f) { return MTX44Mult( pOut, &m, f ); } in MTX44Mult()
1031 inline MTX44* MTX44Mult(MTX44* pOut, const MTX44& m1, const MTX44& m2) { return MTX44Mult( pOut, &m… in MTX44Mult()
1033 inline MTX44* MTX44Transpose(MTX44* pOut, const MTX44& m) { return MTX44Transpose( pOut, &m ); } in MTX44Transpose()
1034 inline MTX44* MTX44MultArray(MTX44* pOut, const MTX44& m1, const MTX44* pSrc, s32 count) { return M… in MTX44MultArray()
1035 inline u32 MTX44Inverse(MTX44* pOut, const MTX44& m) { return MTX44Inverse( pOut, &m ); } in MTX44Inverse()
1037 inline MTX44* MTX44RotAxisFIdx(MTX44* pOut, const VEC3& vAxis, f32 fIdx) { return MTX44RotAxisFIdx(… in MTX44RotAxisFIdx()
1038 inline MTX44* MTX44RotAxisRad(MTX44* pOut, const VEC3& vAxis, f32 fRad) { return MTX44RotAxisRad( p… in MTX44RotAxisRad()
1039 inline MTX44* MTX44RotAxisDeg(MTX44* pOut, const VEC3& vAxis, f32 fDeg) { return MTX44RotAxisDeg( p… in MTX44RotAxisDeg()
1041 inline MTX44* MTX44Scale(MTX44* pOut, const VEC3& S) { return MTX44Scale(pOut, &S); } in MTX44Scale()
1042 inline MTX44* MTX44MultScale(MTX44* pOut, const MTX44& M, const VEC3& S) { return MTX44MultScale(pO… in MTX44MultScale()
1043 inline MTX44* MTX44MultScale(MTX44* pOut, const VEC3& S, const MTX44& M) { return MTX44MultScale(pO… in MTX44MultScale()
1045 inline MTX44* MTX44Translate(MTX44* pOut, const VEC3& T) { return MTX44Translate(pOut, &T); } in MTX44Translate()
1046 inline MTX44* MTX44MultTranslate(MTX44* pOut, const MTX44& M, const VEC3& T) { return MTX44MultTran… in MTX44MultTranslate()
1047 inline MTX44* MTX44MultTranslate(MTX44* pOut, const VEC3& T, const MTX44& M) { return MTX44MultTran… in MTX44MultTranslate()