|
Phyzix
|
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 |