D3DRMVectorRotate

LPD3DVECTOR D3DRMVectorRotate(LPD3DVECTOR lpr, LPD3DVECTOR lpv,

LPD3DVECTOR lpaxis, D3DVALUE theta);

Rotates a vector around a given axis.

·Returns the address of the vector that was passed as the first parameter if successful, or zero otherwise.

lpr

Address of a D3DVECTOR structure that will contain the result of the operation.

lpv

Address of a D3DVECTOR structure that will be rotated around the given axis.

lpaxis

Address of a D3DVECTOR structure that is the axis of rotation.

theta

The rotation in radians.