NWengine 0.9
|
Public Member Functions | |
Vector3 (T x=0.0f, T y=0.0f, T z=0.0f) | |
Vector3< float > | normalize () const |
float | magnitude () |
T | Dot (Vector3 const &vec1) |
Vector3 | Project (Vector3 const &vec1) |
Vector3 | operator+ (Vector3 const &vec1) |
Vector3 | operator+ (T const &num) |
Vector3 | operator* (T const &num) |
Vector3 | operator* (Vector3 const &vec1) |
bool | operator== (Vector3 const &vec1) |
bool | operator!= (Vector3 const &vec1) |
Public Attributes | ||
union { | ||
struct { | ||
T x | ||
T y | ||
T z | ||
} | ||
struct { | ||
T r | ||
T g | ||
T b | ||
} | ||
}; | ||