|
Public Member Functions |
| | Vector (void) |
| | Vector (float x, float y, float z) |
| | ~Vector (void) |
| void | set (float x, float y, float z) |
| void | matrixMul (Matrix a) |
| float | length () |
| void | normalize () |
Static Public Member Functions |
| static Vector | add (Vector a, Vector b) |
| static Vector | subtract (Vector a, Vector b) |
| static Vector | scale (Vector a, float factor) |
| static Vector | rotate (Vector a, Vector b, Vector axis, float angle) |
| static float | dotProduct (Vector a, Vector b) |
| static Vector | crossProduct (Vector a, Vector b) |
Public Attributes |
| float | x |
| float | y |
| float | z |