template<typename T>
sead::Matrix22 class

Public static variables

static const Matrix22 zero
static const Matrix22 ident

Constructors, destructors, conversion operators

Matrix22()
Matrix22(const Self& n) defaulted
Matrix22(T a00, T a01, T a10, T a11)

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 setTranspose(const Self& n)
void transpose()
auto zero(0. 0f, 0. 0f, 0. 0f, 0. 0f) -> const Matrix22<f32>
auto ident(1. 0f, 0. 0f, 0. 0f, 1. 0f) -> const Matrix22<f32>
auto zero(0, 0, 0, 0) -> const Matrix22<f64>
auto ident(1, 0, 0, 1) -> const Matrix22<f64>

Function documentation

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

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

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

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