Microsoft DirectX 8.1 (Visual Basic) |
Determines the product of two matrices.
D3DXMatrixMultiply( _ MOut As D3DMATRIX, _ M1 As D3DMATRIX, _ M2 As D3DMATRIX)
If the function fails, an error is raised and Err.Number can be set to one of the following values.
D3DERR_INVALIDCALL |
D3DERR_OUTOFVIDEOMEMORY |
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
The result represents the transformation M2 followed by the transformation M1 (Out = M1 * M2).