#include <misc.hpp>
Public Methods | |
void | LoadZero (void) |
void | LoadIdentity (void) |
void | print () |
void | Translate (float x, float y, float z) |
void | Scale (float x, float y, float z) |
void | RotateX (int deg) |
void | RotateY (int deg) |
void | RotateZ (int deg) |
void | RotateX (float rad) |
void | RotateY (float rad) |
void | RotateZ (float rad) |
void | RotateXYZ (float x, float y, float z) |
void | Rotate (matrix16f m1) |
void | Set (vector3f right, vector3f up, vector3f out) |
matrix16f & | operator= (const matrix16f &m1) |
vector3f | Transform (vector3f point) |
matrix16f | FlipOrientation (void) |
void | Normalize (void) |
matrix16f () | |
Public Attributes | |
float | matrix [16] |
Friends | |
matrix16f | operator+ (const matrix16f &m1, const matrix16f &m2) |
matrix16f | operator+ (const matrix16f &m1, const vector3f &v2) |
add vector to 12 13 14 portion of matrix. | |
matrix16f | operator- (const matrix16f &m1, const matrix16f &m2) |
matrix16f | operator * (const matrix16f &m1, const float scalar) |
matrix16f | operator * (const matrix16f &m1, const matrix16f &m2) |
matrix16f | operator/ (const matrix16f &m1, const float scalar) |
bool | operator== (const matrix16f &m1, const matrix16f &m2) |
Plenty of useful overloaded operators, including those for interacting with the matrix9f and vector3f classes.