#include <matrix.h>
|
| matrix4 () |
|
| matrix4 (float m0, float m1, float m2, float m3, float m4, float m5, float m6, float m7, float m8, float m9, float m10, float m11, float m12, float m13, float m14, float m15) |
|
matrix4 & | operator= (const matrix4 &q) |
|
matrix4 & | operator= (const float *matrix) |
|
matrix4 | operator+ (const matrix4 &q) |
|
matrix4 | operator- (const matrix4 &q) |
|
matrix4 | operator* (const float scalar) |
|
matrix4 | operator* (const float *matrix) |
|
matrix4 | premultiply (const float *mat) const |
|
vec4 | operator* (const vec4 &vec) |
|
matrix4 | operator* (const matrix4 &q) const |
|
void | normalize () |
|
matrix4 | transpose () |
|
void | perspective (float fovy, float aspect, float zNear, float zFar, bool infinite) |
|
void | ortho (float left, float right, float bottom, float top, float near, float far) |
|
matrix4 | lookat (const vec3 &eye, vec3 ¢er, vec3 &up) |
|
matrix4::matrix4 |
( |
float |
m0, |
|
|
float |
m1, |
|
|
float |
m2, |
|
|
float |
m3, |
|
|
float |
m4, |
|
|
float |
m5, |
|
|
float |
m6, |
|
|
float |
m7, |
|
|
float |
m8, |
|
|
float |
m9, |
|
|
float |
m10, |
|
|
float |
m11, |
|
|
float |
m12, |
|
|
float |
m13, |
|
|
float |
m14, |
|
|
float |
m15 |
|
) |
| |
void matrix4::mat_backward |
( |
matrix4 & |
mvp, |
|
|
vec3 & |
position |
|
) |
| |
|
static |
void matrix4::mat_bottom |
( |
matrix4 & |
mvp, |
|
|
vec3 & |
position |
|
) |
| |
|
static |
void matrix4::mat_forward |
( |
matrix4 & |
mvp, |
|
|
vec3 & |
position |
|
) |
| |
|
static |
void matrix4::mat_left |
( |
matrix4 & |
mvp, |
|
|
vec3 & |
position |
|
) |
| |
|
static |
void matrix4::mat_right |
( |
matrix4 & |
mvp, |
|
|
vec3 & |
position |
|
) |
| |
|
static |
void matrix4::mat_top |
( |
matrix4 & |
mvp, |
|
|
vec3 & |
position |
|
) |
| |
|
static |
void matrix4::normalize |
( |
| ) |
|
matrix4 matrix4::operator* |
( |
const float |
scalar | ) |
|
matrix4 matrix4::operator* |
( |
const float * |
matrix | ) |
|
vec4 matrix4::operator* |
( |
const vec4 & |
vec | ) |
|
matrix4 & matrix4::operator= |
( |
const float * |
matrix | ) |
|
void matrix4::ortho |
( |
float |
left, |
|
|
float |
right, |
|
|
float |
bottom, |
|
|
float |
top, |
|
|
float |
near, |
|
|
float |
far |
|
) |
| |
void matrix4::perspective |
( |
float |
fovy, |
|
|
float |
aspect, |
|
|
float |
zNear, |
|
|
float |
zFar, |
|
|
bool |
infinite |
|
) |
| |
matrix4 matrix4::premultiply |
( |
const float * |
mat | ) |
const |
The documentation for this class was generated from the following files: