DirectX SDK |
The DirectX7.QuaternionRotation method retrieves a unit quaternion that represents a rotation of a specified number of radians around the given axis.
object.QuaternionRotatation(quat As D3DRMQUATERNION, _ axis As D3DVECTOR, _ theta As Single)
If the method fails, an error is raised and Err.Number is set.