#include <Matrix.h>
Public Member Functions | |
Mat4 () | |
Mat4 (float val) | |
Mat4 (float mat[]) | |
void | loadIdentity () |
void | set (const float *matrix) |
void | postMultiply (const Mat4 &mat) |
void | setTranslation (const float *translation) |
void | setInverseTranslation (const float *translation) |
void | setRotationRadians (const float *angles) |
void | translateVect (float *pVect) const |
void | rotateVect (float *pVect) const |
void | inverseTranslateVect (float *pVect) const |
void | inverseRotateVect (float *pVect) const |
const float * | getMatrix () const |
void | loadRotateX (const float angle) |
void | loadRotateY (const float angle) |
void | loadRotateZ (const float angle) |
void | loadRotateXY (const float angleX, const float angleY) |
void | loadRotateZXY (const float angleX, const float angleY, const float angleZ) |
void | loadRotate (const Vec3 &v, const float angle) |
void | loadProjectionMatrix (float fov, float aspect, float zNear, float zFar) |
void | translate (const Vec3 &v) |
void | setTranslate (const Vec3 &v) |
Vec3 | translateVec (const Vec3 &v) |
void | scale (const float sx, const float sy, const float sz) |
void | rotateX (const float angle) |
void | rotateY (const float angle) |
void | rotateZ (const float angle) |
void | rotateXY (const float angleX, const float angleY) |
void | rotateZXY (const float angleX, const float angleY, const float angleZ) |
void | rotate (const Vec3 &v, const float angle) |
Vec3 | rotateVec (const Vec3 &v) |
void | transpose () |
operator float * () | |
const float & | operator() (const int row, const int column) const |
const float & | operator[] (const int index) const |
void | operator+= (const Mat4 &v) |
void | operator-= (const Mat4 &v) |
void | operator *= (const Mat4 &v) |
void | operator+= (const float s) |
void | operator-= (const float s) |
void | operator *= (const float s) |
void | operator/= (const float s) |
Mat4 | operator+ (const Mat4 &v) |
Mat4 | operator+ (const float s) |
Mat4 | operator- () |
Mat4 | operator- (const Mat4 &v) |
Mat4 | operator- (const float s) |
Mat4 | operator * (const Mat4 &v) |
Vec3 | operator * (const Vec3 &v) |
Vec4 | operator * (const Vec4 &v) |
Mat4 | operator * (const float s) |
Mat4 | operator/ (const float s) |
Mat4 | operator! () |
Protected Attributes | |
float | m [16] |
Author: Petter Alstermark, petter@alstermark.com
Definition at line 14 of file Matrix.h.
|
Author: Petter Alstermark, petter@alstermark.com Definition at line 9 of file Matrix.cpp. References m. |
|
Definition at line 13 of file Matrix.cpp. References m. |
|
Definition at line 17 of file Matrix.cpp. References m. |
|
Definition at line 32 of file Matrix.h. References m. Referenced by MS_Vec_Transform(), and MS_Vec_Transform3(). |
|
Definition at line 103 of file Matrix.h. References m. Referenced by MilkShape::attachSkin(). |
|
Definition at line 119 of file Matrix.h. References m. Referenced by MilkShape::attachSkin(). |
|
Definition at line 21 of file Matrix.cpp. References m. |
|
Definition at line 183 of file Matrix.cpp. References m. |
|
Definition at line 161 of file Matrix.cpp. References m, Vec3::x, Vec3::y, and Vec3::z. Referenced by rotate(). |
|
Definition at line 27 of file Matrix.cpp. References m. Referenced by rotateX(). |
|
Definition at line 102 of file Matrix.cpp. References m. Referenced by rotateXY(). |
|
Definition at line 52 of file Matrix.cpp. References m. Referenced by rotateY(). |
|
Definition at line 77 of file Matrix.cpp. References m. Referenced by rotateZ(). |
|
Definition at line 130 of file Matrix.cpp. References m. Referenced by MS_Bone::advanceTo(), MS_Bone::initialize(), and rotateZXY(). |
|
Definition at line 398 of file Matrix.cpp. References m. |
|
Definition at line 439 of file Matrix.cpp. |
|
Definition at line 432 of file Matrix.cpp. |
|
Definition at line 382 of file Matrix.cpp. References m. |
|
Definition at line 408 of file Matrix.cpp. References m. |
|
Definition at line 414 of file Matrix.cpp. References m. |
|
Definition at line 59 of file Matrix.h. References m. |
|
Definition at line 463 of file Matrix.cpp. References m. |
|
Definition at line 60 of file Matrix.h. References m. |
|
Definition at line 325 of file Matrix.cpp. References m. |
|
Definition at line 317 of file Matrix.cpp. References m. |
|
Definition at line 369 of file Matrix.cpp. References m. |
|
Definition at line 357 of file Matrix.cpp. References m. |
|
Definition at line 341 of file Matrix.cpp. References m. |
|
Definition at line 333 of file Matrix.cpp. References m. |
|
Definition at line 349 of file Matrix.cpp. References m. |
|
Definition at line 375 of file Matrix.cpp. References m. |
|
Definition at line 363 of file Matrix.cpp. References m. |
|
Definition at line 447 of file Matrix.cpp. References m. |
|
Definition at line 457 of file Matrix.cpp. References m. |
|
Definition at line 61 of file Matrix.h. References m. |
|
Definition at line 517 of file Matrix.cpp. Here is the call graph for this function: |
|
Definition at line 282 of file Matrix.cpp. References loadRotate(). Here is the call graph for this function: |
|
Definition at line 238 of file Matrix.cpp. |
|
Definition at line 93 of file Matrix.h. References m. Referenced by MilkShape::render(). |
|
Definition at line 247 of file Matrix.cpp. References loadRotateX(). Here is the call graph for this function: |
|
Definition at line 268 of file Matrix.cpp. References loadRotateXY(). Here is the call graph for this function: |
|
Definition at line 254 of file Matrix.cpp. References loadRotateY(). Here is the call graph for this function: |
|
Definition at line 261 of file Matrix.cpp. References loadRotateZ(). Here is the call graph for this function: |
|
Definition at line 275 of file Matrix.cpp. References loadRotateZXY(). Here is the call graph for this function: |
|
Definition at line 232 of file Matrix.cpp. References m. |
|
Definition at line 89 of file Matrix.h. References m. Referenced by postMultiply(). |
|
Definition at line 550 of file Matrix.cpp. References m. |
|
Definition at line 556 of file Matrix.cpp. References m. |
|
Definition at line 217 of file Matrix.cpp. References m, Vec3::x, Vec3::y, and Vec3::z. Referenced by MS_Bone::advanceTo(), and MS_Bone::initialize(). |
|
Definition at line 544 of file Matrix.cpp. References m. |
|
Definition at line 210 of file Matrix.cpp. |
|
Definition at line 223 of file Matrix.cpp. |
|
Definition at line 113 of file Matrix.h. References m. Referenced by MilkShape::render(). |
|
Definition at line 289 of file Matrix.cpp. References m. |
|