YSE sound engine  1.0
cross platform sound engine
 All Classes Namespaces Functions Pages
YSE::Vec Class Reference

Public Member Functions

Veczero ()
 
Vecset (Flt r)
 
Vecset (Flt x, Flt y, Flt z)
 
Flt length ()
 
std::string asText ()
 
Vecoperator+= (Flt r)
 
Vecoperator-= (Flt r)
 
Vecoperator*= (Flt r)
 
Vecoperator/= (Flt r)
 
Vecoperator+= (const Vec &v)
 
Vecoperator-= (const Vec &v)
 
Vecoperator*= (const Vec &v)
 
Vecoperator/= (const Vec &v)
 
Bool operator== (const Vec &v) const
 
Bool operator!= (const Vec &v) const
 
 Vec (Flt r)
 
 Vec (Flt x, Flt y, Flt z)
 
 Vec (const aVec &v)
 

Public Attributes

Flt x
 
Flt y
 
Flt z
 

Friends

Vec operator+ (const Vec &v, Flt r)
 
Vec operator- (const Vec &v, Flt r)
 
Vec operator* (const Vec &v, Flt r)
 
Vec operator/ (const Vec &v, Flt r)
 
Vec operator+ (Flt r, const Vec &v)
 
Vec operator- (Flt r, const Vec &v)
 
Vec operator* (Flt r, const Vec &v)
 
Vec operator/ (Flt r, const Vec &v)
 
Vec operator+ (const Vec &a, const Vec &b)
 
Vec operator- (const Vec &a, const Vec &b)
 
Vec operator* (const Vec &a, const Vec &b)
 
Vec operator/ (const Vec &a, const Vec &b)
 

Detailed Description

Definition at line 23 of file vector.hpp.


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