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