Project

General

Profile

OPENVR Scol plugin

Public Member Functions

 Vector3 (const float fX, const float fY, const float fZ)
 
 Vector3 (const float afCoordinate[3])
 
 Vector3 (const int afCoordinate[3])
 
 Vector3 (float *const r)
 
 Vector3 (const float scaler)
 
float operator[] (const size_t i) const
 
float & operator[] (const size_t i)
 
float * ptr ()
 Pointer accessor for direct copying.
 
const float * ptr () const
 Pointer accessor for direct copying.
 
Vector3operator= (const Vector3 &rkVector)
 
Vector3operator= (const float fScaler)
 
bool operator== (const Vector3 &rkVector) const
 
bool operator!= (const Vector3 &rkVector) const
 
Vector3 operator+ (const Vector3 &rkVector) const
 
Vector3 operator- (const Vector3 &rkVector) const
 
Vector3 operator* (const float fScalar) const
 
Vector3 operator* (const Vector3 &rhs) const
 
Vector3 operator/ (const float fScalar) const
 
Vector3 operator/ (const Vector3 &rhs) const
 
const Vector3operator+ () const
 
Vector3 operator- () const
 
Vector3operator+= (const Vector3 &rkVector)
 
Vector3operator+= (const float fScalar)
 
Vector3operator-= (const Vector3 &rkVector)
 
Vector3operator-= (const float fScalar)
 
Vector3operator*= (const float fScalar)
 
Vector3operator*= (const Vector3 &rkVector)
 
Vector3operator/= (const float fScalar)
 
Vector3operator/= (const Vector3 &rkVector)
 

Public Attributes

float x
 
float y
 
float z
 

Static Public Attributes

static const Vector3 ZERO
 

Friends

Vector3 operator* (const float fScalar, const Vector3 &rkVector)
 
Vector3 operator/ (const float fScalar, const Vector3 &rkVector)
 
Vector3 operator+ (const Vector3 &lhs, const float rhs)
 
Vector3 operator+ (const float lhs, const Vector3 &rhs)
 
Vector3 operator- (const Vector3 &lhs, const float rhs)
 
Vector3 operator- (const float lhs, const Vector3 &rhs)
 

Detailed Description

Definition at line 11 of file vrmaths.h.


The documentation for this class was generated from the following files:
  • D:/dev/scol-technologies/trunk/scol/plugins/sopenvr/include/vrmaths.h
  • D:/dev/scol-technologies/trunk/scol/plugins/sopenvr/src/vrmaths.cpp