template<typename T>
sead::Matrix33 class

Public static variables

static const Matrix33 zero
static const Matrix33 ident

Constructors, destructors, conversion operators

Matrix33()
Matrix33(const Self& n) defaulted
Matrix33(T a00, T a01, T a02, T a10, T a11, T a12, T a20, T a21, T a22)
Matrix33(const Mtx34& mtx34)

Public functions

auto operator()(s32 i, s32 j) const -> T
auto operator()(s32 i, s32 j) -> T&
auto operator=(const Self& n) -> Self&
void makeIdentity()
void makeZero()
void setInverse(const Self& n)
void setInverseTranspose(const Self& n)
void setMul(const Self& a, const Self& b)
void setMul(const Mtx34& a, const Self& b)
void setMul(const Self& a, const Mtx34& b)
void setTranspose(const Self& n)
void transpose()
void fromQuat(const Quat<T>& q)
void makeR(const Vec3& r)
void makeRIdx(u32 xr, u32 yr, u32 zr)
void makeRzxyIdx(u32 xr, u32 yr, u32 zr)
void makeS(const Vec3& s)
void makeS(T x, T y, T z)
void makeSR(const Vec3& s, const Vec3& r)
void makeSRIdx(const Vec3& s, const Vector3<u32>& r)
void makeSRzxyIdx(const Vec3& s, const Vector3<u32>& r)
void toQuat(Quat<T>& q) const
auto getBase(s32 axis) const -> Vec3
auto getRow(s32 row) const -> Vec3
void getBase(Vec3& o, s32 axis) const
void getRow(Vec3& o, s32 row) const
void setBase(s32 axis, const Vec3& v)
void setRow(s32 row, const Vec3& v)
auto zero(0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f) -> const Matrix33<f32>
auto ident(1. 0f, 0. 0f, 0. 0f, 0. 0f, 1. 0f, 0. 0f, 0. 0f, 0. 0f, 1. 0f) -> const Matrix33<f32>
auto zero(0, 0, 0, 0, 0, 0, 0, 0, 0) -> const Matrix33<f64>
auto ident(1, 0, 0, 0, 1, 0, 0, 0, 1) -> const Matrix33<f64>

Function documentation

template<typename T>
const Matrix33<f32> sead::Matrix33<T>::zero(0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f, 0. 0f)

template<typename T>
const Matrix33<f32> sead::Matrix33<T>::ident(1. 0f, 0. 0f, 0. 0f, 0. 0f, 1. 0f, 0. 0f, 0. 0f, 0. 0f, 1. 0f)

template<typename T>
const Matrix33<f64> sead::Matrix33<T>::zero(0, 0, 0, 0, 0, 0, 0, 0, 0)

template<typename T>
const Matrix33<f64> sead::Matrix33<T>::ident(1, 0, 0, 0, 1, 0, 0, 0, 1)