|
| Vector (const Vector< T, LENGTH > &other) |
|
template<typename U > |
| operator Vector< U, LENGTH > () |
|
template<typename U > |
| Vector (const Vector< U, LENGTH > &other) |
|
| Vector (const Vector< T, LENGTH+1 > &other) |
|
| Vector (const Vector< T, LENGTH+2 > &other) |
|
| Vector (const Vector< T, LENGTH - 1 > &other, T last=T(0)) |
|
| Vector (const Vector< T, LENGTH - 2 > &other, T lastA=T(0), T lastB=T(0)) |
|
| Vector (const T array[]) |
|
template<typename U > |
| Vector (const Initializer< U > &list) |
|
| Vector (const Initializer< T > &list) |
|
| Vector () |
|
| operator T* () |
|
void | operator= (T array[]) |
|
template<typename OTHER_T > |
void | operator= (const Vector< OTHER_T, LENGTH > &other) |
|
void | operator= (const T &scalar) |
|
T & | operator[] (const size_t index) |
|
const T & | operator[] (const size_t index) const |
|
bool | operator== (const Vector< T, LENGTH > &other) const |
|
bool | operator!= (const Vector< T, LENGTH > &other) const |
|
void | operator+= (const Vector< T, LENGTH > &other) |
|
void | operator-= (const Vector< T, LENGTH > &other) |
|
Vector< T, LENGTH > | operator* (const T &scalar) const |
|
void | operator*= (T scalar) |
|
void | operator/= (T scalar) |
|
T | operator| (const Vector< T, LENGTH > &rhs) const |
|
Vector< T, LENGTH > | operator% (const Vector< T, LENGTH > &rhs) const |
|
const Vector< T, LENGTH > | operator- () const |
|
template<typename... ARGS> |
void | set (ARGS...argList) |
|
void | set (const Vector< T, LENGTH > &vec) |
|
const Vector< T, LENGTH > | normal () const |
|
const T | squaredLength () const |
|
const T | magnitude () const |
|
const T | length () const |
|
Vector< T, LENGTH > | getScale () |
|
void | scale (const Vector< T, LENGTH > &vec) |
|
void | translate (const Vector< T, LENGTH > &vec) |
|
void | rotate (T angle, const Vector< T, 3 > &vec) |
|
Vector< T, LENGTH > & | normalize () |
|
void | print () const |
|