DirectX SDK

DirectX7.RotateYMatrix

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

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

Parameters

object
Object expression that resolves to a DirectX7 object.
mDest
D3DMATRIX type that receives 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.RotateXMatrix and DirectX7.RotateZMatrix.