#include <dada.h>
Public Member Functions | |
dVector () | |
dVector (float X, float Y, float Z, float W=1) | |
dVector (dVector const &c) | |
float * | arr () |
int | operator== (dVector const &rhs) |
dVector & | operator= (dVector const &rhs) |
dVector | operator+ (dVector const &rhs) const |
dVector | operator- (dVector const &rhs) const |
dVector | operator * (dVector const &rhs) const |
dVector | operator/ (dVector const &rhs) const |
dVector | operator+ (float rhs) const |
dVector | operator- (float rhs) const |
dVector | operator * (float rhs) const |
dVector | operator/ (float rhs) const |
dVector & | operator+= (dVector const &rhs) |
dVector & | operator-= (dVector const &rhs) |
dVector & | operator *= (float rhs) |
dVector & | operator/= (float rhs) |
dVector | cross (dVector const &rhs) const |
dVector | reflect (dVector const &rhs) const |
float | dot (dVector const &rhs) const |
float | dist (dVector const &rhs) const |
float | distsq (dVector const &rhs) const |
float | mag () |
void | get_euler (float &rx, float &ry, float &rz) const |
void | homog () |
dVector & | normalise () |
bool | feq (const dVector &other, float epsilon=0.00001) |
void | get_rot (float m[16], dVector up) |
Data Fields | |
float | x |
float | y |
float | z |
float | w |
Definition at line 47 of file dada.h.
Fluxus::dVector::dVector | ( | float | X, | |
float | Y, | |||
float | Z, | |||
float | W = 1 | |||
) | [inline] |
int Fluxus::dVector::operator== | ( | dVector const & | rhs | ) | [inline] |
void dVector::get_euler | ( | float & | rx, | |
float & | ry, | |||
float & | rz | |||
) | const |
bool dVector::feq | ( | const dVector & | other, | |
float | epsilon = 0.00001 | |||
) |
float Fluxus::dVector::x |
float Fluxus::dVector::y |
float Fluxus::dVector::z |
float Fluxus::dVector::w |