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