Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Vector4f Struct Reference

#include "OVR_Math.h"

Inheritance diagram for OVR::Vector4f:
Inheritance graph
Collaboration diagram for OVR::Vector4f:
Collaboration graph

Public Member Functions

 Vector4f ()
 
 Vector4f (const Vector3f &v)
 
 Vector4f (float r, float g, float b, float a)
 
- Public Member Functions inherited from OVR::Vector3< T >
 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
 
Vector3operator+= (const Vector3 &b)
 
Vector3 operator- (const Vector3 &b) const
 
Vector3operator-= (const Vector3 &b)
 
Vector3 operator- () const
 
Vector3 operator* (T s) const
 
Vector3operator*= (T s)
 
Vector3 operator/ (T s) const
 
Vector3operator/= (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
 
Dot (const Vector3 &b) const
 
Vector3 Cross (const Vector3 &b) const
 
Angle (const Vector3 &b) const
 
LengthSq () const
 
Length () const
 
DistanceSq (Vector3 const &b) const
 
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
 

Data Fields

float w
 
- Data Fields inherited from OVR::Vector3< T >
x
 
y
 
z
 

Additional Inherited Members

- Public Types inherited from OVR::Vector3< T >
typedef CompatibleTypes
< Vector3< T > >::Type 
CompatibleType
 
- Static Public Member Functions inherited from OVR::Vector3< T >
static Vector3 Min (const Vector3 &a, const Vector3 &b)
 
static Vector3 Max (const Vector3 &a, const Vector3 &b)
 

Detailed Description

Definition at line 565 of file OVR_Math.h.

Constructor & Destructor Documentation

OVR::Vector4f::Vector4f ( )
inline

Definition at line 569 of file OVR_Math.h.

OVR::Vector4f::Vector4f ( const Vector3f v)
inline

Definition at line 570 of file OVR_Math.h.

OVR::Vector4f::Vector4f ( float  r,
float  g,
float  b,
float  a 
)
inline

Definition at line 571 of file OVR_Math.h.

Field Documentation

float OVR::Vector4f::w

Definition at line 567 of file OVR_Math.h.


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