ScummVM API documentation
Bagel::HodjNPodj::CVector Class Reference
Inheritance diagram for Bagel::HodjNPodj::CVector:
Bagel::Vector Bagel::Vector

Public Member Functions

 CVector (const VECTOR &src)
 
 CVector (double xx, double yy, double zz=0)
 
void Unitize ()
 
void Normalize ()
 
void SetVector (double xx, double yy, double zz=0)
 
double DotProduct (const VECTOR &rhs) const
 
void Rotate (double angle)
 
void Reflect (const VECTOR &rhs)
 
double AngleBetween (const VECTOR &rhs)
 
double RealAngle (const VECTOR &rhs)
 
double Length () const
 
CVector operator+ (const VECTOR &rhs) const
 
CVector operator+ (double) const
 
CVector operator- (const VECTOR &rhs) const
 
CVector operator- (double) const
 
CVector operator* (double) const
 
CVector operator/ (double) const
 
void operator+= (const VECTOR &rhs)
 
void operator-= (const VECTOR &rhs)
 
void operator*= (double)
 
void operator/= (double)
 
bool operator== (const VECTOR &rhs) const
 
 CVector (const VECTOR &src)
 
 CVector (double xx, double yy, double zz=0)
 
void Unitize ()
 
void Normalize ()
 
void SetVector (double xx, double yy, double zz=0)
 
double DotProduct (const VECTOR &rhs) const
 
void Rotate (double angle)
 
void Reflect (const VECTOR &rhs)
 
double AngleBetween (const VECTOR &rhs)
 
double RealAngle (const VECTOR &rhs)
 
double Length () const
 
CVector operator+ (const VECTOR &rhs) const
 
CVector operator+ (double) const
 
CVector operator- (const VECTOR &rhs) const
 
CVector operator- (double) const
 
CVector operator* (double) const
 
CVector operator/ (double) const
 
void operator+= (const VECTOR &rhs)
 
void operator-= (const VECTOR &rhs)
 
void operator*= (double)
 
void operator/= (double)
 
bool operator== (const VECTOR &rhs) const
 

Additional Inherited Members

- Public Attributes inherited from Bagel::Vector
double x
 
double y
 
double z
 

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