
3D vector More...
Derived from: | None |
Derived by: | None |
Group: | Math (Core) |
#include <ClanLib/core.h>
Class Members:
Attributes: | |
Returns the length (magnitude) of the vector. | |
Normalizes the vector. | |
Dot products this vector with an other vector. | |
Calculate the angle between this vector and an other vector. | |
Calculate the cross product between this vector and an other vector. | |
Rotate vector around an axis. Same as glRotate[f|d](angle, a);. | |
Rounds all components. |
| |
+= operator. | |
+ operator. | |
-= operator. | |
*= operator. | |
* operator. | |
/= operator. | |
/ operator. | |
== operator. | |
!= operator. |
Detailed description:
These vector templates are defined for: char, unsigned char, short, unsigned short, int, unsigned int, float, double