Microsoft DirectX 9.0 SDK Update (October 2004)

Quaternion.RotateAxis Method

Language:

Note: This documentation is preliminary and is subject to change.

Rotates a quaternion around an arbitrary axis.

Definition

Visual Basic .NET Public Sub RotateAxis( _
    ByVal v As Vector3, _
    ByVal angle As Single _
)
C# public void RotateAxis(
    Vector3 v,
    float angle
);
Managed C++ public: void RotateAxis(
    Vector3 v,
    float angle
);
JScript .NET public function RotateAxis(
    v : Vector3,
    angle : float
);

Parameters

v Microsoft.DirectX.Vector3. A Vector3 structure that identifies the axis about which to rotate the quaternion.
angle System.Single. Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center