next up previous contents
Next: Omega, Up: The Quaternion class Previous: s and v   Contents

Subsections

Rotation matrices

Syntax

ReturnMatrix R() const;
ReturnMatrix T() const;

Description

Returns a rotation matrix from the quaternion (R() returns a $3 \times 3$ matrix and T() returns a $4 \times 4$ matrix).

Return Value

Matrix



Richard Gourdeau 2004-07-06