Phyzix
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Vector Class Reference

Public Member Functions

 Vector (float x, float y)
 
Vector operator+ (Vector other) const
 
Vector operator* (float scalar) const
 
float operator* (Vector other) const
 
float getMagnitude () const
 
float getDirection () const
 
Vector getNormal () const
 
Vector getPerpendicular () const
 
Vector getResolvedAround (Vector normal) const
 
Vector getUnResolvedFrom (Vector normal) const
 
void print (bool verbose=true) const
 

Public Attributes

float x
 
float y
 

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