struct ffw::Mat4x4
Class List > ffw :: Mat4x4
Public Attributes
Type | Name |
---|---|
T | ptr |
Public Functions
Type | Name |
---|---|
Mat4x4 () | |
Mat4x4 (T xx, T yx, T zx, T wx, T xy, T yy, T zy, T wy, T xz, T yz, T zz, T wz, T xw, T yw, T zw, T ww) | |
Mat4x4 (T val) | |
Mat4x4 (std::initializer_list< T > list) | |
void | set (T xx, T yx, T zx, T wx, T xy, T yy, T zy, T wy, T xz, T yz, T zz, T wz, T xw, T yw, T zw, T ww) |
void | set (T val) |
void | set (T m) |
void | set (std::initializer_list< T > list) |
T * | getPtr () |
const T * | getPtr () const |
ffw::Mat4x4< T > & | operator= (const ffw::Mat4x4< T > & m) |
ffw::Mat4x4< T > | operator+ (const ffw::Mat4x4< T > & m) const |
ffw::Mat4x4< T > & | operator+= (const ffw::Mat4x4< T > & m) |
ffw::Mat4x4< T > | operator- (const ffw::Mat4x4< T > & m) const |
ffw::Mat4x4< T > & | operator-= (const ffw::Mat4x4< T > & m) |
ffw::Mat4x4< T > | operator* (const ffw::Mat4x4< T > & m) const |
ffw::Mat4x4< T > & | operator*= (const ffw::Mat4x4< T > & m) |
ffw::Vec4< S > | operator* (const ffw::Vec4< S > & v) const |
ffw::Vec3< S > | operator* (const ffw::Vec3< S > & v) const |
T & | operator[] (int x) |
const T & | operator[] (int x) const |
ffw::Mat4x4< T > & | rotate (const ffw::Quaternion< T > & q) |
ffw::Mat4x4< T > & | translate (T x, T y, T z) |
ffw::Mat4x4< T > & | scale (T x, T y, T z) |
ffw::Mat4x4< T > & | transpose () |
T | determinant () const |
ffw::Mat4x4< T > & | inverse () |
Public Attributes Documentation
variable ptr
T ffw::Mat4x4< T >::ptr[16];
Public Functions Documentation
function Mat4x4 (1/4)
ffw::Mat4x4::Mat4x4 ()
function Mat4x4 (2/4)
ffw::Mat4x4::Mat4x4 (
T xx,
T yx,
T zx,
T wx,
T xy,
T yy,
T zy,
T wy,
T xz,
T yz,
T zz,
T wz,
T xw,
T yw,
T zw,
T ww
)
function Mat4x4 (3/4)
ffw::Mat4x4::Mat4x4 (
T val
)
function Mat4x4 (4/4)
ffw::Mat4x4::Mat4x4 (
std::initializer_list< T > list
)
function set (1/4)
void ffw::Mat4x4::set (
T xx,
T yx,
T zx,
T wx,
T xy,
T yy,
T zy,
T wy,
T xz,
T yz,
T zz,
T wz,
T xw,
T yw,
T zw,
T ww
)
function set (2/4)
void ffw::Mat4x4::set (
T val
)
function set (3/4)
void ffw::Mat4x4::set (
T m
)
function set (4/4)
void ffw::Mat4x4::set (
std::initializer_list< T > list
)
function getPtr (1/2)
T * ffw::Mat4x4::getPtr ()
function getPtr (2/2)
const T * ffw::Mat4x4::getPtr () const
function operator=
ffw::Mat4x4< T > & ffw::Mat4x4::operator= (
const ffw::Mat4x4< T > & m
)
function operator+
ffw::Mat4x4< T > ffw::Mat4x4::operator+ (
const ffw::Mat4x4< T > & m
) const
function operator+=
ffw::Mat4x4< T > & ffw::Mat4x4::operator+= (
const ffw::Mat4x4< T > & m
)
function operator-
ffw::Mat4x4< T > ffw::Mat4x4::operator- (
const ffw::Mat4x4< T > & m
) const
function operator-=
ffw::Mat4x4< T > & ffw::Mat4x4::operator-= (
const ffw::Mat4x4< T > & m
)
function operator* (1/3)
ffw::Mat4x4< T > ffw::Mat4x4::operator* (
const ffw::Mat4x4< T > & m
) const
function operator*=
ffw::Mat4x4< T > & ffw::Mat4x4::operator*= (
const ffw::Mat4x4< T > & m
)
function operator* (2/3)
ffw::Vec4< S > ffw::Mat4x4::operator* (
const ffw::Vec4< S > & v
) const
function operator* (3/3)
ffw::Vec3< S > ffw::Mat4x4::operator* (
const ffw::Vec3< S > & v
) const
function operator[] (1/2)
T & ffw::Mat4x4::operator[] (
int x
)
function operator[] (2/2)
const T & ffw::Mat4x4::operator[] (
int x
) const
function rotate
ffw::Mat4x4< T > & ffw::Mat4x4::rotate (
const ffw::Quaternion< T > & q
)
function translate
ffw::Mat4x4< T > & ffw::Mat4x4::translate (
T x,
T y,
T z
)
function scale
ffw::Mat4x4< T > & ffw::Mat4x4::scale (
T x,
T y,
T z
)
function transpose
ffw::Mat4x4< T > & ffw::Mat4x4::transpose ()
function determinant
T ffw::Mat4x4::determinant () const
function inverse
ffw::Mat4x4< T > & ffw::Mat4x4::inverse ()
The documentation for this class was generated from the following file: include/ffw/graphics/mat4.h