![]() |
Public API Reference |
An instance of csMatrix3 that is initialized as a rotation about Z. More...
#include <csgeom/matrix3.h>
Public Member Functions | |
| csZRotMatrix3 (float angle) | |
| Return a rotation matrix around the Z axis. | |
An instance of csMatrix3 that is initialized as a rotation about Z.
| csZRotMatrix3::csZRotMatrix3 | ( | float | angle | ) |
Return a rotation matrix around the Z axis.
'angle' is given in radians. Looking along the Z axis with X pointing to the right and Y pointing up a rotation of PI/2 will rotate 90 degrees in anti-clockwise direction (i.e. 1,0,0 -> 0,1,0).