Krig Game Engine
Public Member Functions | Public Attributes | List of all members
Vector Struct Reference

Public Member Functions

 Vector (const float &, const float &, const float &)
 
void setVector (const float &, const float &, const float &)
 
void normalize ()
 
float dotProduct (const Vector &)
 
void crossProduct (const Vector &, const Vector &)
 
float getDistance (const Vector &)
 
float getLength ()
 
float getScaler (const Vector &)
 
float getSum ()
 
void scale (const float &)
 
void average (const Vector &, const Vector &)
 
void calcNorm (const Vector &, const Vector &, const Vector &)
 
Vector operator* (float)
 
Vector operator+ (const Vector &)
 
void operator= (const Vector &)
 
void operator+= (const Vector &)
 
void operator-= (const Vector &)
 
void rotateVector (const Matrix &, const Vector &)
 
void transformVector (const Matrix &, const Vector &)
 
bool intersectBox (const Vector &, Vector[], float, Vector &)
 
bool intersectBox (const Vector &, Vector[], float)
 

Public Attributes

float x
 
float y
 
float z
 

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