Public Member Functions | Public Attributes
OVR::Vector3< T > Class Template Reference

#include <OVR_Math.h>

List of all members.

Public Member Functions

Angle (const Vector3 &b) const
bool Compare (const Vector3 &b, T tolerance=Mathf::Tolerance)
Vector3 Cross (const Vector3 &b) const
Distance (Vector3 &b) const
bool IsNormalized () const
Length () const
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
operator* (const Vector3 &b) const
Vector3operator*= (T s)
Vector3 operator+ (const Vector3 &b) const
Vector3operator+= (const Vector3 &b)
Vector3 operator- (const Vector3 &b) const
Vector3 operator- () const
Vector3operator-= (const Vector3 &b)
Vector3 operator/ (T s) const
Vector3operator/= (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

x
y
z

Detailed Description

template<class T>
class OVR::Vector3< T >

Definition at line 225 of file OVR_Math.h.


Constructor & Destructor Documentation

template<class T>
OVR::Vector3< T >::Vector3 ( ) [inline]

Definition at line 230 of file OVR_Math.h.

template<class T>
OVR::Vector3< T >::Vector3 ( x_,
y_,
z_ = 0 
) [inline]

Definition at line 231 of file OVR_Math.h.

template<class T>
OVR::Vector3< T >::Vector3 ( s) [inline, explicit]

Definition at line 232 of file OVR_Math.h.


Member Function Documentation

template<class T>
T OVR::Vector3< T >::Angle ( const Vector3< T > &  b) const [inline]

Definition at line 272 of file OVR_Math.h.

template<class T>
bool OVR::Vector3< T >::Compare ( const Vector3< T > &  b,
tolerance = Mathf::Tolerance 
) [inline]

Definition at line 254 of file OVR_Math.h.

template<class T>
Vector3 OVR::Vector3< T >::Cross ( const Vector3< T > &  b) const [inline]

Definition at line 267 of file OVR_Math.h.

template<class T>
T OVR::Vector3< T >::Distance ( Vector3< T > &  b) const [inline]

Definition at line 280 of file OVR_Math.h.

template<class T>
bool OVR::Vector3< T >::IsNormalized ( ) const [inline]

Definition at line 283 of file OVR_Math.h.

template<class T>
T OVR::Vector3< T >::Length ( ) const [inline]

Definition at line 277 of file OVR_Math.h.

template<class T>
T OVR::Vector3< T >::LengthSq ( ) const [inline]

Definition at line 275 of file OVR_Math.h.

template<class T>
Vector3 OVR::Vector3< T >::Lerp ( const Vector3< T > &  b,
f 
) const [inline]

Definition at line 291 of file OVR_Math.h.

template<class T>
void OVR::Vector3< T >::Normalize ( ) [inline]

Definition at line 285 of file OVR_Math.h.

template<class T>
Vector3 OVR::Vector3< T >::Normalized ( ) const [inline]

Definition at line 287 of file OVR_Math.h.

template<class T>
bool OVR::Vector3< T >::operator!= ( const Vector3< T > &  b) const [inline]

Definition at line 235 of file OVR_Math.h.

template<class T>
Vector3 OVR::Vector3< T >::operator* ( s) const [inline]

Definition at line 244 of file OVR_Math.h.

template<class T>
T OVR::Vector3< T >::operator* ( const Vector3< T > &  b) const [inline]

Definition at line 262 of file OVR_Math.h.

template<class T>
Vector3& OVR::Vector3< T >::operator*= ( s) [inline]

Definition at line 245 of file OVR_Math.h.

template<class T>
Vector3 OVR::Vector3< T >::operator+ ( const Vector3< T > &  b) const [inline]

Definition at line 237 of file OVR_Math.h.

template<class T>
Vector3& OVR::Vector3< T >::operator+= ( const Vector3< T > &  b) [inline]

Definition at line 238 of file OVR_Math.h.

template<class T>
Vector3 OVR::Vector3< T >::operator- ( const Vector3< T > &  b) const [inline]

Definition at line 239 of file OVR_Math.h.

template<class T>
Vector3 OVR::Vector3< T >::operator- ( ) const [inline]

Definition at line 241 of file OVR_Math.h.

template<class T>
Vector3& OVR::Vector3< T >::operator-= ( const Vector3< T > &  b) [inline]

Definition at line 240 of file OVR_Math.h.

template<class T>
Vector3 OVR::Vector3< T >::operator/ ( s) const [inline]

Definition at line 247 of file OVR_Math.h.

template<class T>
Vector3& OVR::Vector3< T >::operator/= ( s) [inline]

Definition at line 249 of file OVR_Math.h.

template<class T>
bool OVR::Vector3< T >::operator== ( const Vector3< T > &  b) const [inline]

Definition at line 234 of file OVR_Math.h.

template<class T>
Vector3 OVR::Vector3< T >::ProjectTo ( const Vector3< T > &  b) const [inline]

Definition at line 295 of file OVR_Math.h.


Member Data Documentation

template<class T>
T OVR::Vector3< T >::x

Definition at line 228 of file OVR_Math.h.

template<class T>
T OVR::Vector3< T >::y

Definition at line 228 of file OVR_Math.h.

template<class T>
T OVR::Vector3< T >::z

Definition at line 228 of file OVR_Math.h.


The documentation for this class was generated from the following file:


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:21