#include <vector.h>
Public Methods | |
| const vector | operator * (const t s) const |
| Multiplicate actual vector with a scalar. | |
| const vector | operator * (const vector &v) const |
| Multiplication with a vector. | |
| const t | operator^ (const vector &v) const |
| Dot product of vector. | |
| const vector | operator+ (const vector &v) const |
| Add a vector v to this vector. | |
| void | rotx (t val) |
| Rotate vector around x axis. | |
Private Methods | |
| t | _length () |
| Calculate the length of the vector. | |
Definition at line 12 of file vector.h.
|
||||||||||
|
Multiplicate actual vector with a scalar.
|
1.2.18