le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
|
Represent a 4x4 matrix to handle 3D transforms. More...
#include <geometry_scalar.h>
Public Member Functions | |
LeMatrix () | |
void | identity () |
void | zero () |
void | transpose () |
void | translate (LeVertex d) |
void | scale (LeVertex s) |
void | rotateEulerXYZ (LeVertex a) |
void | rotateEulerXZY (LeVertex a) |
void | rotateEulerYZX (LeVertex a) |
void | rotateEulerYXZ (LeVertex a) |
void | rotateEulerZXY (LeVertex a) |
void | rotateEulerZYX (LeVertex a) |
void | rotateX (float a) |
void | rotateY (float a) |
void | rotateZ (float a) |
void | rotate (LeVertex axis, float angle) |
void | toEulerZYX (LeVertex &angle) |
void | alignBackUp (LeVertex back, LeVertex up) |
void | alignBackRight (LeVertex back, LeVertex right) |
LeMatrix | inverse3x3 () |
LeVertex | operator* (LeVertex v) const |
LeMatrix | operator+ (LeMatrix m) const |
LeMatrix | operator* (LeMatrix m) const |
Public Attributes | |
float | mat [4][4] |
Represent a 4x4 matrix to handle 3D transforms.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
float LeMatrix::mat[4][4] |