#include <spDimensionMatrix2.hpp>
Public Member Functions | |
matrix2 () | |
matrix2 (const T(&other)[4]) | |
matrix2 (const matrix2< T > &other) | |
matrix2 (T m1n1, T m2n1, T m1n2, T m2n2) | |
~matrix2 () | |
const T | operator() (u32 row, u32 col) const |
T & | operator() (u32 row, u32 col) |
const T | operator[] (u32 i) const |
T & | operator[] (u32 i) |
bool | operator== (const matrix2< T > &other) |
bool | operator!= (const matrix2< T > &other) |
matrix2< T > & | operator= (const T(&other)[4]) |
matrix2< T > & | operator= (const matrix2< T > &other) |
matrix2< T > & | operator= (T Scalar) |
matrix2< T > | operator+ (const matrix2< T > &mltMatrix) const |
matrix2< T > & | operator+= (const matrix2< T > &mltMatrix) |
matrix2< T > | operator- (const matrix2< T > &mltMatrix) const |
matrix2< T > & | operator-= (const matrix2< T > &mltMatrix) |
matrix2< T > | operator* (const matrix2< T > &mltMatrix) const |
matrix2< T > | operator* (T Scalar) const |
matrix2< T > & | operator*= (const matrix2< T > &mltMatrix) |
matrix2< T > & | operator*= (T Scalar) |
point2d< T > | operator* (const point2d< T > &Vector) const |
void | clear () |
matrix2< T > & | reset () |
void | multiplySingleMatrix (const T(&Other)[2]) |
bool | getInverse (matrix2< T > &InverseMat) const |
bool | setInverse () |
matrix2< T > | getInverse () const |
matrix2< T > & | scale (const point2d< T > &Vector) |
matrix2< T > & | rotate (const T Angle) |
void | setRotation (T Rotation, bool UseDegrees=true) |
point2d< T > | getRow (s32 Position) const |
point2d< T > | getColumn (s32 Position) const |
void | setScale (const point2d< T > &Scale) |
point2d< T > | getScale () const |
T | getRotation () const |
matrix4< T > | getTransposed () const |
void | getTransposed (matrix4< T > &other) const |
point2d< T > | interpolate (const point2d< T > &other, f32 seek) const |
bool | isIdentity () const |
const T * | getArray () const |
T * | getArray () |
template<typename B > | |
matrix2< B > | cast () const |
sp::dim::matrix2< T >::matrix2 | ( | ) | [inline] |
sp::dim::matrix2< T >::matrix2 | ( | const T(&) | other[4] | ) | [inline] |
sp::dim::matrix2< T >::matrix2 | ( | const matrix2< T > & | other | ) | [inline] |
sp::dim::matrix2< T >::matrix2 | ( | T | m1n1, | |
T | m2n1, | |||
T | m1n2, | |||
T | m2n2 | |||
) | [inline] |
sp::dim::matrix2< T >::~matrix2 | ( | ) | [inline] |
matrix2<B> sp::dim::matrix2< T >::cast | ( | ) | const [inline] |
void sp::dim::matrix2< T >::clear | ( | ) | [inline] |
const T* sp::dim::matrix2< T >::getArray | ( | ) | const [inline] |
T* sp::dim::matrix2< T >::getArray | ( | ) | [inline] |
point2d<T> sp::dim::matrix2< T >::getColumn | ( | s32 | Position | ) | const [inline] |
bool sp::dim::matrix2< T >::getInverse | ( | matrix2< T > & | InverseMat | ) | const [inline] |
matrix2<T> sp::dim::matrix2< T >::getInverse | ( | ) | const [inline] |
T sp::dim::matrix2< T >::getRotation | ( | ) | const [inline] |
point2d<T> sp::dim::matrix2< T >::getRow | ( | s32 | Position | ) | const [inline] |
point2d<T> sp::dim::matrix2< T >::getScale | ( | ) | const [inline] |
matrix4<T> sp::dim::matrix2< T >::getTransposed | ( | ) | const [inline] |
void sp::dim::matrix2< T >::getTransposed | ( | matrix4< T > & | other | ) | const [inline] |
point2d<T> sp::dim::matrix2< T >::interpolate | ( | const point2d< T > & | other, | |
f32 | seek | |||
) | const [inline] |
bool sp::dim::matrix2< T >::isIdentity | ( | ) | const [inline] |
void sp::dim::matrix2< T >::multiplySingleMatrix | ( | const T(&) | Other[2] | ) | [inline] |
bool sp::dim::matrix2< T >::operator!= | ( | const matrix2< T > & | other | ) | [inline] |
T& sp::dim::matrix2< T >::operator() | ( | u32 | row, | |
u32 | col | |||
) | [inline] |
const T sp::dim::matrix2< T >::operator() | ( | u32 | row, | |
u32 | col | |||
) | const [inline] |
point2d<T> sp::dim::matrix2< T >::operator* | ( | const point2d< T > & | Vector | ) | const [inline] |
matrix2<T> sp::dim::matrix2< T >::operator* | ( | const matrix2< T > & | mltMatrix | ) | const [inline] |
matrix2<T> sp::dim::matrix2< T >::operator* | ( | T | Scalar | ) | const [inline] |
matrix2<T>& sp::dim::matrix2< T >::operator*= | ( | T | Scalar | ) | [inline] |
matrix2<T>& sp::dim::matrix2< T >::operator*= | ( | const matrix2< T > & | mltMatrix | ) | [inline] |
matrix2<T> sp::dim::matrix2< T >::operator+ | ( | const matrix2< T > & | mltMatrix | ) | const [inline] |
matrix2<T>& sp::dim::matrix2< T >::operator+= | ( | const matrix2< T > & | mltMatrix | ) | [inline] |
matrix2<T> sp::dim::matrix2< T >::operator- | ( | const matrix2< T > & | mltMatrix | ) | const [inline] |
matrix2<T>& sp::dim::matrix2< T >::operator-= | ( | const matrix2< T > & | mltMatrix | ) | [inline] |
matrix2<T>& sp::dim::matrix2< T >::operator= | ( | T | Scalar | ) | [inline] |
matrix2<T>& sp::dim::matrix2< T >::operator= | ( | const matrix2< T > & | other | ) | [inline] |
matrix2<T>& sp::dim::matrix2< T >::operator= | ( | const T(&) | other[4] | ) | [inline] |
bool sp::dim::matrix2< T >::operator== | ( | const matrix2< T > & | other | ) | [inline] |
const T sp::dim::matrix2< T >::operator[] | ( | u32 | i | ) | const [inline] |
T& sp::dim::matrix2< T >::operator[] | ( | u32 | i | ) | [inline] |
matrix2<T>& sp::dim::matrix2< T >::reset | ( | ) | [inline] |
matrix2<T>& sp::dim::matrix2< T >::rotate | ( | const T | Angle | ) | [inline] |
matrix2<T>& sp::dim::matrix2< T >::scale | ( | const point2d< T > & | Vector | ) | [inline] |
bool sp::dim::matrix2< T >::setInverse | ( | ) | [inline] |
void sp::dim::matrix2< T >::setRotation | ( | T | Rotation, | |
bool | UseDegrees = true | |||
) | [inline] |
void sp::dim::matrix2< T >::setScale | ( | const point2d< T > & | Scale | ) | [inline] |