Rotation class representing a 3D rotation about the X axis by the angle of rotation. For efficiency reason, in addition to the the angle, the sine and cosine of the angle are held @ingroup GenVector
========== Constructors and Assignment ===================== Default constructor (identity rotation)
{ }
Construct from an angle
======== Components ============== Set given the angle.
{ SetAngle(angle); }
Get the angle
{ angle = atan2 (fSin,fCos); }
{ GetAngle(angle); }
Angle of rotation
{ return atan2 (fSin,fCos); }
Sine or Cosine of the rotation angle
{ return fSin; }
{ return fCos; }
Overload operator * for rotation on a vector
Invert a rotation in place
{ fAngle = -fAngle; fSin = -fSin; }
Return inverse of a rotation
{ RotationX t(*this); t.Invert(); return t; }