|
Nebula
|
#include <im3d.h>
Public Member Functions | |
| Mat4 () | |
| Mat4 (float _diagonal) | |
| Mat4 (float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30=0.0f, float m31=0.0f, float m32=0.0f, float m33=1.0f) | |
| Mat4 (const Mat3 &_mat3) | |
| Mat4 (const Vec3 &_translation, const Mat3 &_rotation, const Vec3 &_scale) | |
| operator float * () | |
| operator const float * () const | |
| Vec4 | getCol (int _i) const |
| Vec4 | getRow (int _i) const |
| void | setCol (int _i, const Vec4 &_v) |
| void | setRow (int _i, const Vec4 &_v) |
| Vec3 | getTranslation () const |
| void | setTranslation (const Vec3 &_translation) |
| Mat3 | getRotation () const |
| void | setRotation (const Mat3 &_rotation) |
| Vec3 | getScale () const |
| void | setScale (const Vec3 &_scale) |
| float | operator() (int _row, int _col) const |
| float & | operator() (int _row, int _col) |
Public Attributes | |
| float | m [4 *4] |
|
inline |
| Mat4::Mat4 | ( | float | _diagonal | ) |
| Mat4::Mat4 | ( | float | m00, |
| float | m01, | ||
| float | m02, | ||
| float | m03, | ||
| float | m10, | ||
| float | m11, | ||
| float | m12, | ||
| float | m13, | ||
| float | m20, | ||
| float | m21, | ||
| float | m22, | ||
| float | m23, | ||
| float | m30 = 0.0f, | ||
| float | m31 = 0.0f, | ||
| float | m32 = 0.0f, | ||
| float | m33 = 1.0f ) |
| Mat4::Mat4 | ( | const Mat3 & | _mat3 | ) |
| Vec4 Mat4::getCol | ( | int | _i | ) | const |
| Mat3 Mat4::getRotation | ( | ) | const |
| Vec4 Mat4::getRow | ( | int | _i | ) | const |
| Vec3 Mat4::getScale | ( | ) | const |
| Vec3 Mat4::getTranslation | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| void Mat4::setCol | ( | int | _i, |
| const Vec4 & | _v ) |
| void Mat4::setRotation | ( | const Mat3 & | _rotation | ) |
| void Mat4::setRow | ( | int | _i, |
| const Vec4 & | _v ) |
| void Mat4::setScale | ( | const Vec3 & | _scale | ) |
| void Mat4::setTranslation | ( | const Vec3 & | _translation | ) |
| float Im3d::Mat4::m[4 *4] |