|
| Vec3 (T value) |
|
| Vec3 (T xx, T yy, T zz) |
|
void | zero () |
|
void | set (int index, T value) |
|
void | set (T newX, T newY, T newZ) |
|
void | add (int index, T delta) |
|
void | add (T dx, T dy, T dz) |
|
bool | operator== (const Vec3< T > &value) const |
|
bool | operator!= (const Vec3< T > &value) const |
|
bool | operator== (const T &value) const |
|
bool | operator!= (const T &value) const |
|
void | operator= (const T value) |
|
void | operator+= (const T value) |
|
void | operator+= (const Vec3< T > &v) |
|
Vec3< T > | operator+ (const T value) const |
|
Vec3< T > | operator+ (const Vec3< T > &v) const |
|
Vec3< T > | operator- () const |
|
void | operator-= (const T value) |
|
void | operator-= (const Vec3< T > &v) |
|
Vec3< T > | operator- (const T value) const |
|
Vec3< T > | operator- (const Vec3< T > &v) const |
|
void | operator/= (const T value) |
|
void | operator/= (const Vec3< T > &v) |
|
Vec3< T > | operator/ (const T value) const |
|
Vec3< T > | operator/ (const Vec3< T > &v) const |
|
Vec3< T > | operator* (const T value) const |
|
void | operator*= (const T value) |
|
Vec3< T > | operator* (const Vec3< T > &v) const |
|
Vec3< T > | abs () const |
|
T | absMax () const |
|
int | absMaxElement () const |
|
T | absMin () const |
|
int | absMinElement () const |
|
double | dp (const Vec3< T > &v) const |
|
double | magAndNormalise () |
|
double | magSqAndNormalise () |
|
double | magnitude () const |
|
double | magnitudeSq () const |
|
T | max () const |
|
int | maxElement () const |
|
T | min () const |
|
int | minElement () const |
|
Vec3< T > | adjusted (int element, double delta) const |
|
void | multiply (double facx, double facy, double facz) |
|
void | multiply (Vec3< double > v) |
|
void | normalise () |
|
Vec3< T > | orthogonal () const |
|
void | orthogonalise (const Vec3< T > &reference) |
|
void | orthogonalise (const Vec3< T > &reference1, const Vec3< T > &reference2) |
|
T * | write (T *buffer) |
|