#include <Mathlib.h>
Public Member Functions | |
Vector3 () | |
Vector3 (Real x, Real y, Real z) | |
bool | operator== (const Vector3< Real > &v) const |
bool | operator!= (const Vector3< Real > &v) const |
Vector3< Real > | operator- () const |
Vector3< Real > | operator+ (const Vector3< Real > &v) const |
Vector3< Real > | operator- (const Vector3< Real > &v) const |
Vector3< Real > | operator* (Real s) const |
Vector3< Real > | operator/ (Real s) const |
Vector3< Real > & | operator+= (const Vector3< Real > &v) |
Vector3< Real > & | operator-= (const Vector3< Real > &v) |
Vector3< Real > & | operator*= (Real s) |
Vector3< Real > & | operator/= (Real s) |
operator const Real * () | |
bool | isZero () |
void | normalize () |
Public Attributes | |
union { | |
struct { | |
Real _x | |
Real _y | |
Real _z | |
} | |
Real _v [3] | |
}; |
Definition at line 80 of file Mathlib.h.
Vector3<Real> Vector3< Real >::operator+ | ( | const Vector3< Real > & | v | ) | const |
Vector3<Real> Vector3< Real >::operator- | ( | const Vector3< Real > & | v | ) | const |
Vector3< Real >::operator const Real * | ( | ) | [inline] |
bool Vector3< Real >::isZero | ( | ) |
void Vector3< Real >::normalize | ( | ) |
union { ... } |