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

#include <seadMatrixCalcCommon.h>

Public Types

typedef Policies< T >::Mtx34Base Base
typedef Policies< T >::Mtx33Base Mtx33
typedef Policies< T >::Mtx44Base Mtx44
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 inverse (Base &o, const Base &n)
void multiply (Base &o, const Base &a, const Base &b)
void makeS (Base &o, const Vec3 &s)
void makeT (Base &o, const Vec3 &t)

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)
static void copy (Base &o, const Mtx44 &n)
static void inverse (Base &o, const Base &n)
static void inverse33 (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 Mtx33 &a, const Base &b)
static void multiply (Base &o, const Base &a, const Mtx33 &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 makeRT (Base &o, const Vec3 &r, const Vec3 &t)
static void makeRTIdx (Base &o, const Vector3< u32 > &r, const Vec3 &t)
static void makeRzxyIdx (Base &o, u32 xr, u32 yr, u32 zr)
static void makeRzxyTIdx (Base &o, const Vector3< u32 > &r, const Vec3 &t)
static void makeS (Base &o, const Vec3 &s)
static void makeSR (Base &o, const Vec3 &s, const Vec3 &r)
static void makeSRIdx (Base &o, const Vec3 &s, const Vector3< u32 > &r)
static void makeSRT (Base &o, const Vec3 &s, const Vec3 &r, const Vec3 &t)
static void makeSRTIdx (Base &o, const Vec3 &s, const Vector3< u32 > &r, const Vec3 &t)
static void makeSRzxyIdx (Base &o, const Vec3 &s, const Vector3< u32 > &r)
static void makeSRzxyTIdx (Base &o, const Vec3 &s, const Vector3< u32 > &r, const Vec3 &t)
static void makeST (Base &o, const Vec3 &s, const Vec3 &t)
static void makeT (Base &o, const Vec3 &t)
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)
static void multScaleLocal (Base &o, const Base &n, const Vec3 &s)
static void multTranslationLocal (Base &o, const Base &n, const Vec3 &t)
static void multScaleWorld (Base &o, const Vec3 &s, const Base &n)
static void multTranslationWorld (Base &o, const Vec3 &t, const Base &n)
static void getBase (Vec3 &v, const Base &n, s32 axis)
static void getRow (Vec4 &v, const Base &n, s32 row)
static void getTranslation (Vec3 &v, const Base &n)
static void setBase (Base &n, s32 axis, const Vec3 &v)
static void setRow (Base &n, const Vec4 &v, s32 row)
static void setTranslation (Base &n, const Vec3 &v)

Member Typedef Documentation

◆ Base

template<typename T>
typedef Policies<T>::Mtx34Base sead::Matrix34CalcCommon< T >::Base

◆ Mtx33

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

◆ Mtx44

template<typename T>
typedef Policies<T>::Mtx44Base sead::Matrix34CalcCommon< T >::Mtx44

◆ Quat

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

◆ Vec3

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

◆ Vec4

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

Member Function Documentation

◆ makeIdentity() [1/2]

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

◆ makeZero()

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

◆ copy() [1/4]

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

◆ copy() [2/4]

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

◆ copy() [3/4]

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

◆ inverse() [1/2]

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

◆ inverse33()

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

◆ inverseTranspose()

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

◆ multiply() [1/4]

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

◆ multiply() [2/4]

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

◆ multiply() [3/4]

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

◆ transpose()

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

◆ transposeTo()

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

◆ makeQ()

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

◆ makeR()

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

◆ makeRIdx()

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

◆ makeRT()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeRT ( Base & o,
const Vec3 & r,
const Vec3 & t )
static

◆ makeRTIdx()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeRTIdx ( Base & o,
const Vector3< u32 > & r,
const Vec3 & t )
static

◆ makeRzxyIdx()

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

◆ makeRzxyTIdx()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeRzxyTIdx ( Base & o,
const Vector3< u32 > & r,
const Vec3 & t )
static

◆ makeS() [1/2]

template<typename T>
void sead::Matrix34CalcCommon< T >::makeS ( Base & o,
const Vec3 & s )
static

◆ makeSR()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeSR ( Base & o,
const Vec3 & s,
const Vec3 & r )
static

◆ makeSRIdx()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeSRIdx ( Base & o,
const Vec3 & s,
const Vector3< u32 > & r )
static

◆ makeSRT()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeSRT ( Base & o,
const Vec3 & s,
const Vec3 & r,
const Vec3 & t )
static

◆ makeSRTIdx()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeSRTIdx ( Base & o,
const Vec3 & s,
const Vector3< u32 > & r,
const Vec3 & t )
static

◆ makeSRzxyIdx()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeSRzxyIdx ( Base & o,
const Vec3 & s,
const Vector3< u32 > & r )
static

◆ makeSRzxyTIdx()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeSRzxyTIdx ( Base & o,
const Vec3 & s,
const Vector3< u32 > & r,
const Vec3 & t )
static

◆ makeST()

template<typename T>
void sead::Matrix34CalcCommon< T >::makeST ( Base & o,
const Vec3 & s,
const Vec3 & t )
static

◆ makeT() [1/2]

template<typename T>
void sead::Matrix34CalcCommon< T >::makeT ( Base & o,
const Vec3 & t )
static

◆ toQuat()

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

◆ scaleAllElements()

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

◆ scaleBases()

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

◆ multScaleLocal()

template<typename T>
void sead::Matrix34CalcCommon< T >::multScaleLocal ( Base & o,
const Base & n,
const Vec3 & s )
static

◆ multTranslationLocal()

template<typename T>
void sead::Matrix34CalcCommon< T >::multTranslationLocal ( Base & o,
const Base & n,
const Vec3 & t )
static

◆ multScaleWorld()

template<typename T>
void sead::Matrix34CalcCommon< T >::multScaleWorld ( Base & o,
const Vec3 & s,
const Base & n )
static

◆ multTranslationWorld()

template<typename T>
void sead::Matrix34CalcCommon< T >::multTranslationWorld ( Base & o,
const Vec3 & t,
const Base & n )
static

◆ getBase()

template<typename T>
void sead::Matrix34CalcCommon< T >::getBase ( Vec3 & v,
const Base & n,
s32 axis )
static

◆ getRow()

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

◆ getTranslation()

template<typename T>
void sead::Matrix34CalcCommon< T >::getTranslation ( Vec3 & v,
const Base & n )
static

◆ setBase()

template<typename T>
void sead::Matrix34CalcCommon< T >::setBase ( Base & n,
s32 axis,
const Vec3 & v )
static

◆ setRow()

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

◆ setTranslation()

template<typename T>
void sead::Matrix34CalcCommon< T >::setTranslation ( Base & n,
const Vec3 & v )
static

◆ makeIdentity() [2/2]

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

◆ copy() [4/4]

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

◆ inverse() [2/2]

void sead::Matrix34CalcCommon< f32 >::inverse ( Base & o,
const Base & n )
inline

◆ multiply() [4/4]

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

◆ makeS() [2/2]

void sead::Matrix34CalcCommon< f32 >::makeS ( Base & o,
const Vec3 & s )
inline

◆ makeT() [2/2]

void sead::Matrix34CalcCommon< f32 >::makeT ( Base & o,
const Vec3 & t )
inline