#include <dada.h>
Public Member Functions | |
dMatrix () | |
dMatrix (const dMatrix &other) | |
dMatrix (float m00, float m10, float m20, float m30, float m01, float m11, float m21, float m31, float m02, float m12, float m22, float m32, float m03, float m13, float m23, float m33) | |
void | init () |
void | zero () |
float * | arr () |
const dMatrix & | operator= (dMatrix const &rhs) |
dMatrix | operator+ (dMatrix const &rhs) const |
dMatrix | operator- (dMatrix const &rhs) const |
dMatrix | operator * (dMatrix const &rhs) const |
dMatrix | operator/ (dMatrix const &rhs) const |
dMatrix & | operator+= (dMatrix const &rhs) |
dMatrix & | operator-= (dMatrix const &rhs) |
dMatrix & | operator *= (dMatrix const &rhs) |
dMatrix & | operator/= (dMatrix const &rhs) |
dMatrix | operator+ (float rhs) const |
dMatrix | operator- (float rhs) const |
dMatrix | operator * (float rhs) const |
dMatrix | operator/ (float rhs) const |
dMatrix & | translate (dVector &tr) |
dMatrix & | translate (float x, float y, float z) |
void | settranslate (dVector &tr) |
dVector | gettranslate () const |
dMatrix & | rotx (float a) |
dMatrix & | roty (float a) |
dMatrix & | rotz (float a) |
dMatrix & | rotxyz (float x, float y, float z) |
dMatrix & | scale (float x, float y, float z) |
dVector | transform_no_trans (dVector const &p) const |
dVector | transform (dVector const &p) const |
dVector | transform_persp (dVector const &p) const |
dVertex | transform (dVertex const &p) const |
void | transpose () |
dMatrix | inverse () const |
float | determinant () const |
dVector | get_hori_i () |
dVector | get_hori_j () |
dVector | get_hori_k () |
dVector | get_vert_i () |
dVector | get_vert_j () |
dVector | get_vert_k () |
void | remove_scale () |
void | extract_euler (float &x, float &y, float &z) const |
void | aim (dVector v, dVector up=dVector(0, 0, 1)) |
void | blend (dMatrix other, float amount) |
void | load_glmatrix (float glm[16]) |
void | load_dMatrix (float glm[16]) |
Data Fields | |
float | m [4][4] |
Friends | |
ostream & | operator<< (ostream &os, dMatrix const &om) |
Definition at line 145 of file dada.h.
dMatrix::dMatrix | ( | float | m00, | |
float | m10, | |||
float | m20, | |||
float | m30, | |||
float | m01, | |||
float | m11, | |||
float | m21, | |||
float | m31, | |||
float | m02, | |||
float | m12, | |||
float | m22, | |||
float | m32, | |||
float | m03, | |||
float | m13, | |||
float | m23, | |||
float | m33 | |||
) |
void dMatrix::extract_euler | ( | float & | x, | |
float & | y, | |||
float & | z | |||
) | const |
ostream& operator<< | ( | ostream & | os, | |
dMatrix const & | om | |||
) | [friend] |
float Fluxus::dMatrix::m[4][4] |