Bike-X
0.8
|
#include "OVR_Math.h"
Public Types | |
typedef CompatibleTypes < Vector2< T > >::Type | CompatibleType |
Public Member Functions | |
Vector2 () | |
Vector2 (T x_, T y_) | |
Vector2 (T s) | |
Vector2 (const Vector2< typename Math< T >::OtherFloatType > &src) | |
Vector2 (const CompatibleType &s) | |
operator const CompatibleType & () const | |
bool | operator== (const Vector2 &b) const |
bool | operator!= (const Vector2 &b) const |
Vector2 | operator+ (const Vector2 &b) const |
Vector2 & | operator+= (const Vector2 &b) |
Vector2 | operator- (const Vector2 &b) const |
Vector2 & | operator-= (const Vector2 &b) |
Vector2 | operator- () const |
Vector2 | operator* (T s) const |
Vector2 & | operator*= (T s) |
Vector2 | operator/ (T s) const |
Vector2 & | operator/= (T s) |
bool | Compare (const Vector2 &b, T tolerance=Mathf::Tolerance) |
Vector2 | EntrywiseMultiply (const Vector2 &b) const |
Vector2 | operator* (const Vector2 &b) const |
Vector2 | operator/ (const Vector2 &b) const |
T | Dot (const Vector2 &b) const |
T | Angle (const Vector2 &b) const |
T | LengthSq () const |
T | Length () const |
T | DistanceSq (Vector2 &b) const |
T | Distance (Vector2 &b) const |
bool | IsNormalized () const |
void | Normalize () |
Vector2 | Normalized () const |
Vector2 | Lerp (const Vector2 &b, T f) const |
Vector2 | ProjectTo (const Vector2 &b) const |
Static Public Member Functions | |
static Vector2 | Min (const Vector2 &a, const Vector2 &b) |
static Vector2 | Max (const Vector2 &a, const Vector2 &b) |
Data Fields | |
T | x |
T | y |
Definition at line 124 of file OVR_Math.h.
typedef CompatibleTypes<Vector2<T> >::Type OVR::Vector2< T >::CompatibleType |
Definition at line 274 of file OVR_Math.h.
|
inline |
Definition at line 266 of file OVR_Math.h.
|
inline |
Definition at line 267 of file OVR_Math.h.
|
inlineexplicit |
Definition at line 268 of file OVR_Math.h.
|
inlineexplicit |
Definition at line 269 of file OVR_Math.h.
|
inline |
Definition at line 276 of file OVR_Math.h.
|
inline |
Definition at line 329 of file OVR_Math.h.
|
inline |
Definition at line 310 of file OVR_Math.h.
|
inline |
Definition at line 347 of file OVR_Math.h.
|
inline |
Definition at line 344 of file OVR_Math.h.
|
inline |
Definition at line 326 of file OVR_Math.h.
|
inline |
Definition at line 316 of file OVR_Math.h.
|
inline |
Definition at line 350 of file OVR_Math.h.
|
inline |
Definition at line 341 of file OVR_Math.h.
|
inline |
Definition at line 338 of file OVR_Math.h.
|
inline |
Definition at line 369 of file OVR_Math.h.
|
inlinestatic |
Definition at line 306 of file OVR_Math.h.
|
inlinestatic |
Definition at line 304 of file OVR_Math.h.
|
inline |
Definition at line 353 of file OVR_Math.h.
|
inline |
Definition at line 360 of file OVR_Math.h.
|
inline |
Definition at line 278 of file OVR_Math.h.
|
inline |
Definition at line 286 of file OVR_Math.h.
|
inline |
Definition at line 295 of file OVR_Math.h.
|
inline |
Definition at line 320 of file OVR_Math.h.
|
inline |
Definition at line 296 of file OVR_Math.h.
|
inline |
Definition at line 288 of file OVR_Math.h.
|
inline |
Definition at line 289 of file OVR_Math.h.
|
inline |
Definition at line 290 of file OVR_Math.h.
|
inline |
Definition at line 292 of file OVR_Math.h.
|
inline |
Definition at line 291 of file OVR_Math.h.
|
inline |
Definition at line 298 of file OVR_Math.h.
|
inline |
Definition at line 321 of file OVR_Math.h.
|
inline |
Definition at line 300 of file OVR_Math.h.
|
inline |
Definition at line 285 of file OVR_Math.h.
|
inline |
Definition at line 373 of file OVR_Math.h.
T OVR::Vector2< T >::x |
Definition at line 264 of file OVR_Math.h.
T OVR::Vector2< T >::y |
Definition at line 264 of file OVR_Math.h.