#include <OVR_Math.h>
Public Member Functions | |
T | Angle (const Vector3 &b) const |
bool | Compare (const Vector3 &b, T tolerance=Mathf::Tolerance) |
Vector3 | Cross (const Vector3 &b) const |
T | Distance (Vector3 &b) const |
bool | IsNormalized () const |
T | Length () const |
T | LengthSq () const |
Vector3 | Lerp (const Vector3 &b, T f) const |
void | Normalize () |
Vector3 | Normalized () const |
bool | operator!= (const Vector3 &b) const |
Vector3 | operator* (T s) const |
T | operator* (const Vector3 &b) const |
Vector3 & | operator*= (T s) |
Vector3 | operator+ (const Vector3 &b) const |
Vector3 & | operator+= (const Vector3 &b) |
Vector3 | operator- (const Vector3 &b) const |
Vector3 | operator- () const |
Vector3 & | operator-= (const Vector3 &b) |
Vector3 | operator/ (T s) const |
Vector3 & | operator/= (T s) |
bool | operator== (const Vector3 &b) const |
Vector3 | ProjectTo (const Vector3 &b) const |
Vector3 () | |
Vector3 (T x_, T y_, T z_=0) | |
Vector3 (T s) | |
Public Attributes | |
T | x |
T | y |
T | z |
Definition at line 225 of file OVR_Math.h.
OVR::Vector3< T >::Vector3 | ( | ) | [inline] |
Definition at line 230 of file OVR_Math.h.
OVR::Vector3< T >::Vector3 | ( | T | x_, |
T | y_, | ||
T | z_ = 0 |
||
) | [inline] |
Definition at line 231 of file OVR_Math.h.
OVR::Vector3< T >::Vector3 | ( | T | s | ) | [inline, explicit] |
Definition at line 232 of file OVR_Math.h.
T OVR::Vector3< T >::Angle | ( | const Vector3< T > & | b | ) | const [inline] |
Definition at line 272 of file OVR_Math.h.
bool OVR::Vector3< T >::Compare | ( | const Vector3< T > & | b, |
T | tolerance = Mathf::Tolerance |
||
) | [inline] |
Definition at line 254 of file OVR_Math.h.
Vector3 OVR::Vector3< T >::Cross | ( | const Vector3< T > & | b | ) | const [inline] |
Definition at line 267 of file OVR_Math.h.
T OVR::Vector3< T >::Distance | ( | Vector3< T > & | b | ) | const [inline] |
Definition at line 280 of file OVR_Math.h.
bool OVR::Vector3< T >::IsNormalized | ( | ) | const [inline] |
Definition at line 283 of file OVR_Math.h.
T OVR::Vector3< T >::Length | ( | ) | const [inline] |
Definition at line 277 of file OVR_Math.h.
T OVR::Vector3< T >::LengthSq | ( | ) | const [inline] |
Definition at line 275 of file OVR_Math.h.
Vector3 OVR::Vector3< T >::Lerp | ( | const Vector3< T > & | b, |
T | f | ||
) | const [inline] |
Definition at line 291 of file OVR_Math.h.
void OVR::Vector3< T >::Normalize | ( | ) | [inline] |
Definition at line 285 of file OVR_Math.h.
Vector3 OVR::Vector3< T >::Normalized | ( | ) | const [inline] |
Definition at line 287 of file OVR_Math.h.
bool OVR::Vector3< T >::operator!= | ( | const Vector3< T > & | b | ) | const [inline] |
Definition at line 235 of file OVR_Math.h.
Vector3 OVR::Vector3< T >::operator* | ( | T | s | ) | const [inline] |
Definition at line 244 of file OVR_Math.h.
T OVR::Vector3< T >::operator* | ( | const Vector3< T > & | b | ) | const [inline] |
Definition at line 262 of file OVR_Math.h.
Vector3& OVR::Vector3< T >::operator*= | ( | T | s | ) | [inline] |
Definition at line 245 of file OVR_Math.h.
Vector3 OVR::Vector3< T >::operator+ | ( | const Vector3< T > & | b | ) | const [inline] |
Definition at line 237 of file OVR_Math.h.
Vector3& OVR::Vector3< T >::operator+= | ( | const Vector3< T > & | b | ) | [inline] |
Definition at line 238 of file OVR_Math.h.
Vector3 OVR::Vector3< T >::operator- | ( | const Vector3< T > & | b | ) | const [inline] |
Definition at line 239 of file OVR_Math.h.
Vector3 OVR::Vector3< T >::operator- | ( | ) | const [inline] |
Definition at line 241 of file OVR_Math.h.
Vector3& OVR::Vector3< T >::operator-= | ( | const Vector3< T > & | b | ) | [inline] |
Definition at line 240 of file OVR_Math.h.
Vector3 OVR::Vector3< T >::operator/ | ( | T | s | ) | const [inline] |
Definition at line 247 of file OVR_Math.h.
Vector3& OVR::Vector3< T >::operator/= | ( | T | s | ) | [inline] |
Definition at line 249 of file OVR_Math.h.
bool OVR::Vector3< T >::operator== | ( | const Vector3< T > & | b | ) | const [inline] |
Definition at line 234 of file OVR_Math.h.
Vector3 OVR::Vector3< T >::ProjectTo | ( | const Vector3< T > & | b | ) | const [inline] |
Definition at line 295 of file OVR_Math.h.
T OVR::Vector3< T >::x |
Definition at line 228 of file OVR_Math.h.
T OVR::Vector3< T >::y |
Definition at line 228 of file OVR_Math.h.
T OVR::Vector3< T >::z |
Definition at line 228 of file OVR_Math.h.