sead
Loading...
Searching...
No Matches
sead::Matrix44CalcCommon< T > Class Template Reference

#include <seadMatrixCalcCommon.h>

Public Types

typedef Policies< T >::Mtx44Base Base
typedef Policies< T >::Mtx33Base Mtx33
typedef Policies< T >::Mtx34Base Mtx34
typedef Policies< T >::QuatBase Quat
typedef Policies< T >::Vec3Base Vec3
typedef Policies< T >::Vec4Base Vec4

Public Member Functions

void makeIdentity (Base &o)
void copy (Base &o, const Base &n)
void multiply (Base &o, const Base &a, const Base &b)

Static Public Member Functions

static void makeIdentity (Base &o)
static void makeZero (Base &o)
static void copy (Base &o, const Base &n)
static void copy (Base &o, const Mtx33 &n, const Vec3 &t, const Vec4 &v)
static void copy (Base &o, const Mtx34 &n, const Vec4 &v)
static void inverse (Base &o, const Base &n)
static void inverseTranspose (Base &o, const Base &n)
static void multiply (Base &o, const Base &a, const Base &b)
static void multiply (Base &o, const Mtx34 &a, const Base &b)
static void multiply (Base &o, const Base &a, const Mtx34 &b)
static void transpose (Base &o)
static void transposeTo (Base &o, const Base &n)
static void makeQ (Base &o, const Quat &q)
static void makeR (Base &o, const Vec3 &r)
static void makeRIdx (Base &o, u32 xr, u32 yr, u32 zr)
static void makeRzxyIdx (Base &o, u32 xr, u32 yr, u32 zr)
static void toQuat (Quat &q, const Base &n)
static void scaleAllElements (Base &n, T s)
static void scaleBases (Base &n, T sx, T sy, T sz, T sw)
static void getCol (Vec4 &v, const Base &n, s32 axis)
static void getRow (Vec4 &v, const Base &n, s32 row)
static void setCol (Base &n, s32 axis, const Vec4 &v)
static void setRow (Base &n, const Vec4 &v, s32 row)

Member Typedef Documentation

◆ Base

template<typename T>
typedef Policies<T>::Mtx44Base sead::Matrix44CalcCommon< T >::Base

◆ Mtx33

template<typename T>
typedef Policies<T>::Mtx33Base sead::Matrix44CalcCommon< T >::Mtx33

◆ Mtx34

template<typename T>
typedef Policies<T>::Mtx34Base sead::Matrix44CalcCommon< T >::Mtx34

◆ Quat

template<typename T>
typedef Policies<T>::QuatBase sead::Matrix44CalcCommon< T >::Quat

◆ Vec3

template<typename T>
typedef Policies<T>::Vec3Base sead::Matrix44CalcCommon< T >::Vec3

◆ Vec4

template<typename T>
typedef Policies<T>::Vec4Base sead::Matrix44CalcCommon< T >::Vec4

Member Function Documentation

◆ makeIdentity() [1/2]

template<typename T>
void sead::Matrix44CalcCommon< T >::makeIdentity ( Base & o)
static

◆ makeZero()

template<typename T>
void sead::Matrix44CalcCommon< T >::makeZero ( Base & o)
static

◆ copy() [1/4]

template<typename T>
void sead::Matrix44CalcCommon< T >::copy ( Base & o,
const Base & n )
static

◆ copy() [2/4]

template<typename T>
void sead::Matrix44CalcCommon< T >::copy ( Base & o,
const Mtx33 & n,
const Vec3 & t,
const Vec4 & v )
static

◆ copy() [3/4]

template<typename T>
void sead::Matrix44CalcCommon< T >::copy ( Base & o,
const Mtx34 & n,
const Vec4 & v )
static

◆ inverse()

template<typename T>
void sead::Matrix44CalcCommon< T >::inverse ( Base & o,
const Base & n )
static

◆ inverseTranspose()

template<typename T>
void sead::Matrix44CalcCommon< T >::inverseTranspose ( Base & o,
const Base & n )
static

◆ multiply() [1/4]

template<typename T>
void sead::Matrix44CalcCommon< T >::multiply ( Base & o,
const Base & a,
const Base & b )
static

◆ multiply() [2/4]

template<typename T>
void sead::Matrix44CalcCommon< T >::multiply ( Base & o,
const Mtx34 & a,
const Base & b )
static

◆ multiply() [3/4]

template<typename T>
void sead::Matrix44CalcCommon< T >::multiply ( Base & o,
const Base & a,
const Mtx34 & b )
static

◆ transpose()

template<typename T>
void sead::Matrix44CalcCommon< T >::transpose ( Base & o)
static

◆ transposeTo()

template<typename T>
void sead::Matrix44CalcCommon< T >::transposeTo ( Base & o,
const Base & n )
static

◆ makeQ()

template<typename T>
void sead::Matrix44CalcCommon< T >::makeQ ( Base & o,
const Quat & q )
static

◆ makeR()

template<typename T>
void sead::Matrix44CalcCommon< T >::makeR ( Base & o,
const Vec3 & r )
static

◆ makeRIdx()

template<typename T>
void sead::Matrix44CalcCommon< T >::makeRIdx ( Base & o,
u32 xr,
u32 yr,
u32 zr )
static

◆ makeRzxyIdx()

template<typename T>
void sead::Matrix44CalcCommon< T >::makeRzxyIdx ( Base & o,
u32 xr,
u32 yr,
u32 zr )
static

◆ toQuat()

template<typename T>
void sead::Matrix44CalcCommon< T >::toQuat ( Quat & q,
const Base & n )
static

◆ scaleAllElements()

template<typename T>
void sead::Matrix44CalcCommon< T >::scaleAllElements ( Base & n,
T s )
static

◆ scaleBases()

template<typename T>
void sead::Matrix44CalcCommon< T >::scaleBases ( Base & n,
T sx,
T sy,
T sz,
T sw )
static

◆ getCol()

template<typename T>
void sead::Matrix44CalcCommon< T >::getCol ( Vec4 & v,
const Base & n,
s32 axis )
static

◆ getRow()

template<typename T>
void sead::Matrix44CalcCommon< T >::getRow ( Vec4 & v,
const Base & n,
s32 row )
static

◆ setCol()

template<typename T>
void sead::Matrix44CalcCommon< T >::setCol ( Base & n,
s32 axis,
const Vec4 & v )
static

◆ setRow()

template<typename T>
void sead::Matrix44CalcCommon< T >::setRow ( Base & n,
const Vec4 & v,
s32 row )
static

◆ makeIdentity() [2/2]

void sead::Matrix44CalcCommon< f32 >::makeIdentity ( Base & o)
inline

◆ copy() [4/4]

void sead::Matrix44CalcCommon< f32 >::copy ( Base & o,
const Base & n )
inline

◆ multiply() [4/4]

void sead::Matrix44CalcCommon< f32 >::multiply ( Base & o,
const Base & a,
const Base & b )
inline