| Platform SDK: DirectX |
The DirectX7.VectorRotate method rotates a vector around a given axis. Returns a normalized vector if successful.
object.VectorRotate(vDest As D3DVECTOR, _
vA As D3DVECTOR, _
vAxis As D3DVECTOR, _
theta As Single)
If the method fails, an error is raised and Err.Number is set.