NW4F Sys
Loading...
Searching...
No Matches
math_Matrix44.h File Reference

Go to the source code of this file.

Classes

struct  nw::math::MTX44_
struct  nw::math::MTX44_::BaseData
struct  nw::math::MTX44

Namespaces

namespace  nw
namespace  nw::math
namespace  nw::math::internal
namespace  nw::math::internal::standard
namespace  nw::math::internal::intrinsics

Typedefs

typedef struct MTX44 nw::math::Matrix44

Enumerations

enum  nw::math::PivotDirection {
  nw::math::PIVOT_NONE , nw::math::PIVOT_UPSIDE_TO_TOP , nw::math::PIVOT_UPSIDE_TO_RIGHT , nw::math::PIVOT_UPSIDE_TO_BOTTOM ,
  nw::math::PIVOT_UPSIDE_TO_LEFT , nw::math::PIVOT_NUM
}

Functions

VEC4nw::math::internal::standard::VEC3Transform (VEC4 *pOut, const MTX44 *pM, const VEC3 *pV)
MTX44nw::math::internal::standard::MTX44Add (MTX44 *pOut, const MTX44 *p1, const MTX44 *p2)
MTX44nw::math::internal::standard::MTX44Sub (MTX44 *pOut, const MTX44 *p1, const MTX44 *p2)
MTX44nw::math::internal::standard::MTX44Mult (MTX44 *pOut, const MTX44 *p, f32 f)
MTX44nw::math::internal::standard::MTX44Mult (MTX44 *pOut, const MTX44 *__restrict p1, const MTX44 *__restrict p2)
MTX44nw::math::internal::standard::MTX44MultScale (MTX44 *pOut, const MTX44 *pM, const VEC3 *pS)
MTX44nw::math::internal::standard::MTX44MultScale (MTX44 *pOut, const VEC3 *pS, const MTX44 *pM)
VEC4nw::math::internal::intrinsics::VEC3Transform (VEC4 *pOut, const MTX44 *pM, const VEC3 *pV)
MTX44nw::math::internal::intrinsics::MTX44Add (MTX44 *pOut, const MTX44 *p1, const MTX44 *p2)
MTX44nw::math::internal::intrinsics::MTX44Sub (MTX44 *pOut, const MTX44 *p1, const MTX44 *p2)
MTX44nw::math::internal::intrinsics::MTX44Mult (MTX44 *pOut, const MTX44 *p, f32 f)
MTX44nw::math::internal::intrinsics::MTX44Mult (MTX44 *pOut, const MTX44 *__restrict p1, const MTX44 *__restrict p2)
MTX44nw::math::internal::intrinsics::MTX44MultScale (MTX44 *pOut, const MTX44 *pM, const VEC3 *pS)
MTX44nw::math::internal::intrinsics::MTX44MultScale (MTX44 *pOut, const VEC3 *pS, const MTX44 *pM)
NW_MATH_INLINE MTX44nw::math::MTX44Zero (MTX44 *pOut)
NW_MATH_INLINE bool nw::math::MTX44IsIdentity (const MTX44 *p)
NW_MATH_INLINE MTX44nw::math::MTX44Identity (MTX44 *pOut)
NW_MATH_INLINE MTX44nw::math::MTX44Copy (MTX44 *pOut, const MTX44 *p)
NW_MATH_INLINE MTX44nw::math::MTX44Add (MTX44 *pOut, const MTX44 *p1, const MTX44 *p2)
NW_MATH_INLINE MTX44nw::math::MTX44Sub (MTX44 *pOut, const MTX44 *p1, const MTX44 *p2)
NW_MATH_INLINE MTX44nw::math::MTX44Mult (MTX44 *pOut, const MTX44 *p, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44Mult (MTX44 *pOut, const MTX44 *p1, const MTX44 *p2)
NW_MATH_INLINE MTX44nw::math::MTX44FrustumNew (MTX44 *pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44OrthoNew (MTX44 *pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44PerspectiveRadNew (MTX44 *pOut, f32 fovyRad, f32 aspect, f32 n, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44FrustumOld (MTX44 *pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44OrthoOld (MTX44 *pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44PerspectiveRadOld (MTX44 *pOut, f32 fovyRad, f32 aspect, f32 n, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44Frustum (MTX44 *pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44Ortho (MTX44 *pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44PerspectiveRad (MTX44 *pOut, f32 fovyRad, f32 aspect, f32 n, f32 f)
NW_MATH_INLINE MTX44nw::math::MTX44Transpose (MTX44 *pOut, const MTX44 *pSrc)
NW_MATH_INLINE MTX44nw::math::MTX44MultArray (MTX44 *pOut, const MTX44 *p1, const MTX44 *pSrc, s32 count)
NW_MATH_INLINE u32 nw::math::MTX44Inverse (MTX44 *pOut, const MTX44 *p)
NW_MATH_INLINE MTX44nw::math::MTX44RotXYZIdx (MTX44 *pOut, u32 idxX, u32 idxY, u32 idxZ)
NW_MATH_INLINE MTX44nw::math::MTX44RotAxisIdx (MTX44 *pOut, const VEC3 *pAxis, u32 idx)
NW_MATH_INLINE MTX44nw::math::MTX44Scale (MTX44 *pOut, const VEC3 *pS)
NW_MATH_INLINE MTX44nw::math::MTX44MultScale (MTX44 *pOut, const MTX44 *pM, const VEC3 *pS)
NW_MATH_INLINE MTX44nw::math::MTX44MultScale (MTX44 *pOut, const VEC3 *pS, const MTX44 *pM)
NW_MATH_INLINE MTX44nw::math::MTX44Translate (MTX44 *pOut, const VEC3 *pT)
NW_MATH_INLINE MTX44nw::math::MTX44MultTranslate (MTX44 *pOut, const MTX44 *pM, const VEC3 *pT)
NW_MATH_INLINE MTX44nw::math::MTX44MultTranslate (MTX44 *pOut, const VEC3 *pT, const MTX44 *pM)
NW_MATH_INLINE MTX44nw::math::MTX44FrustumPivot (MTX44 *pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotDirection pivot=PIVOT_NONE)
NW_MATH_INLINE MTX44nw::math::MTX44OrthoPivot (MTX44 *pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotDirection pivot=PIVOT_NONE)
NW_MATH_INLINE MTX44nw::math::MTX44PerspectivePivotRad (MTX44 *pOut, f32 fovyRad, f32 aspect, f32 n, f32 f, PivotDirection pivot=PIVOT_NONE)
MTX44nw::math::MTX44PerspectiveDeg (MTX44 *pOut, f32 fovyDeg, f32 aspect, f32 n, f32 f)
MTX44nw::math::MTX44Perspective (MTX44 *pOut, f32 fovyRad, f32 aspect, f32 n, f32 f)
MTX44nw::math::MTX44PerspectivePivotDeg (MTX44 *pOut, f32 fovyDeg, f32 aspect, f32 n, f32 f, PivotDirection pivot=PIVOT_NONE)
MTX44nw::math::MTX44RotXYZRad (MTX44 *pOut, f32 fRadX, f32 fRadY, f32 fRadZ)
MTX44nw::math::MTX44RotXYZDeg (MTX44 *pOut, f32 fDegX, f32 fDegY, f32 fDegZ)
MTX44nw::math::MTX44RotAxisRad (MTX44 *pOut, const VEC3 *pAxis, f32 fRad)
MTX44nw::math::MTX44RotAxisDeg (MTX44 *pOut, const VEC3 *pAxis, f32 fDeg)
MTX44nw::math::MTX44Copy (MTX44 *pOut, const MTX44 &m)
bool nw::math::MTX44IsIdentity (const MTX44 &m)
MTX44nw::math::MTX44Add (MTX44 *pOut, const MTX44 &m1, const MTX44 &m2)
MTX44nw::math::MTX44Sub (MTX44 *pOut, const MTX44 &m1, const MTX44 &m2)
MTX44nw::math::MTX44Mult (MTX44 *pOut, const MTX44 &m, f32 f)
MTX44nw::math::MTX44Mult (MTX44 *pOut, const MTX44 &m1, const MTX44 &m2)
MTX44nw::math::MTX44Transpose (MTX44 *pOut, const MTX44 &m)
MTX44nw::math::MTX44MultArray (MTX44 *pOut, const MTX44 &m1, const MTX44 *pSrc, s32 count)
u32 nw::math::MTX44Inverse (MTX44 *pOut, const MTX44 &m)
MTX44nw::math::MTX44RotAxisIdx (MTX44 *pOut, const VEC3 &vAxis, u32 idx)
MTX44nw::math::MTX44RotAxisRad (MTX44 *pOut, const VEC3 &vAxis, f32 fRad)
MTX44nw::math::MTX44RotAxisDeg (MTX44 *pOut, const VEC3 &vAxis, f32 fDeg)
MTX44nw::math::MTX44Scale (MTX44 *pOut, const VEC3 &S)
MTX44nw::math::MTX44MultScale (MTX44 *pOut, const MTX44 &M, const VEC3 &S)
MTX44nw::math::MTX44MultScale (MTX44 *pOut, const VEC3 &S, const MTX44 &M)
MTX44nw::math::MTX44Translate (MTX44 *pOut, const VEC3 &T)
MTX44nw::math::MTX44MultTranslate (MTX44 *pOut, const MTX44 &M, const VEC3 &T)
MTX44nw::math::MTX44MultTranslate (MTX44 *pOut, const VEC3 &T, const MTX44 &M)