Laxkit
0.0.7.1
|
3 Dimensional vector (x,y,z) More...
Public Member Functions | |
spacevector (double xx, double yy, double zz) | |
spacevector (double *v) | |
spacevector (const spacevector &vec) | |
spacevector | operator- () |
-v => (-v.x, -v.y, -v.z) | |
void | normalize () |
Make a unit vector, preserving angle. If null vector, do nothing. | |
void | set (double xx, double yy, double zz) |
bool | isZero () const |
double | norm () const |
Public Attributes | |
double | x |
double | y |
double | z |
int | info |
3 Dimensional vector (x,y,z)