CSEngine
|
Public Member Functions | |
Vector3 (T x, T y, T z) | |
void | Set (T x, T y, T z) |
void | Normalize () |
Vector3 | Normalized () const |
Vector3 | Cross (const Vector3 &v) const |
T | Dot (const Vector3 &v) const |
Vector3 | operator+ (const Vector3 &v) const |
void | operator+= (const Vector3 &v) |
void | operator-= (const Vector3 &v) |
void | operator/= (T s) |
Vector3 | operator- (const Vector3 &v) const |
Vector3 | operator- () const |
Vector3 | operator* (T s) const |
Vector3 | operator/ (T s) const |
bool | operator== (const Vector3 &v) const |
Vector3 | Lerp (float t, const Vector3 &v) const |
const T * | Pointer () const |
template<typename P > | |
P * | Write (P *pData) |
Static Public Member Functions | |
static Vector3 | Lerp (float t, const Vector3 &a, Vector3 &b) |
static float | Distance (const Vector3 &a, const Vector3 &b) |
Public Attributes | |
T | x |
T | y |
T | z |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
T CSE::Vector3< T >::x |
T CSE::Vector3< T >::y |
T CSE::Vector3< T >::z |