Bike-X
0.8
|
#include "OVR_Math.h"
Public Types | |
typedef CompatibleTypes < Vector3< T > >::Type | CompatibleType |
Public Member Functions | |
Vector3 () | |
Vector3 (T x_, T y_, T z_=0) | |
Vector3 (T s) | |
Vector3 (const Vector3< typename Math< T >::OtherFloatType > &src) | |
Vector3 (const CompatibleType &s) | |
operator const CompatibleType & () const | |
bool | operator== (const Vector3 &b) const |
bool | operator!= (const Vector3 &b) const |
Vector3 | operator+ (const Vector3 &b) const |
Vector3 & | operator+= (const Vector3 &b) |
Vector3 | operator- (const Vector3 &b) const |
Vector3 & | operator-= (const Vector3 &b) |
Vector3 | operator- () const |
Vector3 | operator* (T s) const |
Vector3 & | operator*= (T s) |
Vector3 | operator/ (T s) const |
Vector3 & | operator/= (T s) |
bool | Compare (const Vector3 &b, T tolerance=Mathf::Tolerance) |
T & | operator[] (int idx) |
const T & | operator[] (int idx) const |
Vector3 | EntrywiseMultiply (const Vector3 &b) const |
Vector3 | operator* (const Vector3 &b) const |
Vector3 | operator/ (const Vector3 &b) const |
T | Dot (const Vector3 &b) const |
Vector3 | Cross (const Vector3 &b) const |
T | Angle (const Vector3 &b) const |
T | LengthSq () const |
T | Length () const |
T | DistanceSq (Vector3 const &b) const |
T | Distance (Vector3 const &b) const |
bool | IsNormalized () const |
void | Normalize () |
Vector3 | Normalized () const |
Vector3 | Lerp (const Vector3 &b, T f) const |
Vector3 | ProjectTo (const Vector3 &b) const |
Vector3 | ProjectToPlane (const Vector3 &normal) const |
Static Public Member Functions | |
static Vector3 | Min (const Vector3 &a, const Vector3 &b) |
static Vector3 | Max (const Vector3 &a, const Vector3 &b) |
Data Fields | |
T | x |
T | y |
T | z |
Definition at line 125 of file OVR_Math.h.
typedef CompatibleTypes<Vector3<T> >::Type OVR::Vector3< T >::CompatibleType |
Definition at line 407 of file OVR_Math.h.
|
inline |
Definition at line 399 of file OVR_Math.h.
|
inline |
Definition at line 400 of file OVR_Math.h.
|
inlineexplicit |
Definition at line 401 of file OVR_Math.h.
|
inlineexplicit |
Definition at line 402 of file OVR_Math.h.
|
inline |
Definition at line 409 of file OVR_Math.h.
|
inline |
Definition at line 497 of file OVR_Math.h.
|
inline |
Definition at line 450 of file OVR_Math.h.
|
inline |
Definition at line 492 of file OVR_Math.h.
|
inline |
Definition at line 515 of file OVR_Math.h.
|
inline |
Definition at line 512 of file OVR_Math.h.
|
inline |
Definition at line 487 of file OVR_Math.h.
|
inline |
Definition at line 470 of file OVR_Math.h.
|
inline |
Definition at line 518 of file OVR_Math.h.
|
inline |
Definition at line 509 of file OVR_Math.h.
|
inline |
Definition at line 506 of file OVR_Math.h.
|
inline |
Definition at line 538 of file OVR_Math.h.
|
inlinestatic |
Definition at line 442 of file OVR_Math.h.
|
inlinestatic |
Definition at line 436 of file OVR_Math.h.
|
inline |
Definition at line 521 of file OVR_Math.h.
|
inline |
Definition at line 529 of file OVR_Math.h.
|
inline |
Definition at line 411 of file OVR_Math.h.
|
inline |
Definition at line 418 of file OVR_Math.h.
|
inline |
Definition at line 427 of file OVR_Math.h.
|
inline |
Definition at line 475 of file OVR_Math.h.
|
inline |
Definition at line 428 of file OVR_Math.h.
|
inline |
Definition at line 420 of file OVR_Math.h.
|
inline |
Definition at line 421 of file OVR_Math.h.
|
inline |
Definition at line 422 of file OVR_Math.h.
|
inline |
Definition at line 424 of file OVR_Math.h.
|
inline |
Definition at line 423 of file OVR_Math.h.
|
inline |
Definition at line 430 of file OVR_Math.h.
|
inline |
Definition at line 479 of file OVR_Math.h.
|
inline |
Definition at line 432 of file OVR_Math.h.
|
inline |
Definition at line 417 of file OVR_Math.h.
|
inline |
Definition at line 457 of file OVR_Math.h.
|
inline |
Definition at line 463 of file OVR_Math.h.
|
inline |
Definition at line 542 of file OVR_Math.h.
|
inline |
Definition at line 550 of file OVR_Math.h.
T OVR::Vector3< T >::x |
Definition at line 397 of file OVR_Math.h.
T OVR::Vector3< T >::y |
Definition at line 397 of file OVR_Math.h.
T OVR::Vector3< T >::z |
Definition at line 397 of file OVR_Math.h.