|
Defines |
|
#define | LSG_MATRIX_H 1 |
Typedefs |
| typedef float | Matrix [16] |
| | 4x4 matrix
|
Functions |
| void | matrix_load_identity (Matrix m) |
| void | matrix_load_translate (Matrix m, float x, float y, float z) |
| void | matrix_load_translatev (Matrix m, Vertex v) |
| void | matrix_load_scale (Matrix m, float x, float y, float z) |
| void | matrix_load_scalev (Matrix m, Vertex v) |
| void | matrix_load_rotate (Matrix m, float x, float y, float z) |
|
void | matrix_load_rotatev (Matrix m, Vertex v) |
| void | matrix_load_ortho (Matrix m, float x1, float x2, float y1, float y2, float z1, float z2) |
| void | matrix_load_frustum (Matrix m, float x1, float x2, float y1, float y2, float z1, float z2) |
| void | matrix_load_perspective (Matrix m, float fovy, float aspect, float near, float far) |
| void | matrix_load_lookat (Matrix m, Vertex from, Vertex to, Vertex up) |
| void | matrix_load_pick (Matrix m, float x, float y, float w, float h, float vp_x, float vp_y, float vp_w, float vp_h) |
| void | matrix_copy (Matrix dst, const Matrix src) |
| void | matrix_mult (Matrix dst, const Matrix src) |
| void | matrix_premult (Matrix dst, const Matrix src) |
| void | matrix_transpose (Matrix m) |
| void | matrix_invert (Matrix m) |
| void | matrix_apply (const Matrix m, Vertex v) |
| void | matrix_preapply (const Matrix m, Vertex v) |
Variables |
| const Matrix | matrix_identity |