# csXRotMatrix3 Class Reference

[Geometry utilities]

An instance of csMatrix3 that is initialized as a rotation about X. More...

`#include <csgeom/matrix3.h>`

Inheritance diagram for csXRotMatrix3:

## Public Member Functions | |

csXRotMatrix3 (float angle) | |

Return a rotation matrix around the X axis. |

## Detailed Description

An instance of csMatrix3 that is initialized as a rotation about X.

Definition at line 382 of file matrix3.h.

## Constructor & Destructor Documentation

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).

The documentation for this class was generated from the following file:

- csgeom/matrix3.h

Generated for Crystal Space 1.4.1 by doxygen 1.7.1