|
Public Member Functions |
| | mat3 () |
| | mat3 (const vec3 &v0, const vec3 &v1, const vec3 &v2) |
| | mat3 (const mat3 &m) |
| mat3 & | operator= (const mat3 &m) |
| mat3 & | operator+= (const mat3 &m) |
| mat3 & | operator-= (const mat3 &m) |
| mat3 & | operator *= (float d) |
| mat3 & | operator/= (float d) |
| mat3 | transpose () const |
| mat3 | inverse () const |
| mat3 & | apply (V_FCT_PTR fct) |
| void | print (FILE *file, const char *name) const |
| void | set (const vec3 &v0, const vec3 &v1, const vec3 &v2) |
| vec3 & | operator[] (int i) |
| const vec3 & | operator[] (int i) const |
Protected Attributes |
| vec3 | v [3] |
Friends |
| mat3 | operator- (const mat3 &a) |
| mat3 | operator+ (const mat3 &a, const mat3 &b) |
| mat3 | operator- (const mat3 &a, const mat3 &b) |
| mat3 | operator * (const mat3 &a, const mat3 &b) |
| mat3 | operator * (const mat3 &a, float d) |
| mat3 | operator * (float d, const mat3 &a) |
| mat3 | operator/ (const mat3 &a, float d) |
| int | operator== (const mat3 &a, const mat3 &b) |
| int | operator!= (const mat3 &a, const mat3 &b) |
| void | swap (mat3 &a, mat3 &b) |
| vec3 | operator * (const mat3 &a, const vec3 &v) |
| vec2 | operator * (const mat3 &a, const vec2 &v) |