|
void | Abs () |
| Updates each coord to its absolute value. More...
|
|
Vector3< T > | addedX (T a_AddX) const |
| Returns a copy of this vector moved by the specified amount on the X axis. More...
|
|
Vector3< T > | addedXZ (T a_AddX, T a_AddZ) const |
| Returns a copy of this vector moved by the specified amount on the X and Z axes. More...
|
|
Vector3< T > | addedY (T a_AddY) const |
| Returns a copy of this vector moved by the specified amount on the y axis. More...
|
|
Vector3< T > | addedZ (T a_AddZ) const |
| Returns a copy of this vector moved by the specified amount on the Z axis. More...
|
|
Vector3< int > | Ceil () const |
| Returns a new Vector3i with coords set to std::ceil() of this vector's coords. More...
|
|
void | Clamp (T a_Min, T a_Max) |
| Clamps each coord into the specified range. More...
|
|
Vector3< T > | Cross (const Vector3< T > &a_Rhs) const |
|
T | Dot (const Vector3< T > &a_Rhs) const |
|
bool | Equals (const Vector3< T > &a_Rhs) const |
|
bool | EqualsEps (const Vector3< T > &a_Rhs, T a_Eps) const |
|
Vector3< int > | Floor (void) const |
| Returns a new Vector3i with coords set to std::floor() of this vector's coords. More...
|
|
bool | HasNonZeroLength (void) const |
|
double | Length (void) const |
|
double | LineCoeffToXYPlane (const Vector3< T > &a_OtherEnd, T a_Z) const |
| Returns the coefficient for the (a_OtherEnd - this) line to reach the specified Z coord. More...
|
|
double | LineCoeffToXZPlane (const Vector3< T > &a_OtherEnd, T a_Y) const |
| Returns the coefficient for the (a_OtherEnd - this) line to reach the specified Y coord. More...
|
|
double | LineCoeffToYZPlane (const Vector3< T > &a_OtherEnd, T a_X) const |
| Returns the coefficient for the (a_OtherEnd - this) line to reach the specified X coord. More...
|
|
void | Move (const Vector3< T > &a_Diff) |
|
void | Move (T a_X, T a_Y, T a_Z) |
|
void | Normalize (void) |
|
void | NormalizeCopy (Vector3< T > &a_Rhs) const |
| Sets the given vector to the normalized version of this vector. More...
|
|
Vector3< T > | NormalizeCopy (void) const |
|
bool | operator!= (const Vector3< T > &a_Rhs) const |
|
Vector3< T > | operator* (const Vector3< T > &a_Rhs) const |
|
Vector3< T > | operator* (T a_v) const |
|
void | operator*= (const Vector3< T > &a_Rhs) |
|
void | operator*= (T a_v) |
|
Vector3< T > | operator+ (const Vector3< T > &a_Rhs) const |
|
void | operator+= (const Vector3< T > &a_Rhs) |
|
Vector3< T > | operator- (const Vector3< T > &a_Rhs) const |
|
Vector3< T > | operator- (void) const |
|
void | operator-= (const Vector3< T > &a_Rhs) |
|
Vector3< T > | operator/ (const Vector3< T > &a_Rhs) |
|
Vector3< T > | operator/ (T a_v) const |
|
bool | operator< (const Vector3< T > &a_Rhs) const |
|
bool | operator== (const Vector3< T > &a_Rhs) const |
|
bool | operator> (const Vector3< T > &a_Rhs) const |
|
void | Set (T a_x, T a_y, T a_z) |
|
double | SqrLength (void) const |
|
void | TurnCCW (void) |
| Rotates the vector 90 degrees counterclockwise around the vertical axis. More...
|
|
void | TurnCW (void) |
| Rotates the vector 90 degrees clockwise around the vertical axis. More...
|
|
template<typename U , typename = typename std::enable_if<!std::is_same<U, T>::value>::type> |
constexpr | Vector3 (const Vector3< U > &a_Rhs) |
|
constexpr | Vector3 (T a_x, T a_y, T a_z) |
|
constexpr | Vector3 (void) |
|
template<typename T>
class Vector3< T >
Definition at line 10 of file Vector3.h.