DirectX SDK

DirectX7.RotateZMatrix

The DirectX7.RotateZMatrix method rotates the point (x,y,z) around the z-axis, generating a new point (x', y', z').

object.RotateZMatrix(mDest As D3DMATRIX, _
    radians As Single)

Parameters

object
Object expression that resolves to a DirectX7 object.
mDest
D3DMATRIX type that holds the result of the transformation.
radians
The angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

Error Codes

If the method fails, an error is raised and Err.Number is set.

See Also

DirectX7.RotateYMatrix and DirectX7.RotateXMatrix.