DirectX SDK

DirectX7.MatrixMultiply

The DirectX7.MatrixMultiply method determines the product of two matrices.

object.MatrixMultiply(mDest As D3DMATRIX, _
    mA As D3DMATRIX, _
    mB As D3DMATRIX)

Parameters

object
Object expression that resolves to a DirectX7 object.
mDest
D3DMATRIX type that holds the product of matrices mA and mB.
mA
D3DMATRIX type that serves as the multiplicand.
mB
D3DMATRIX type that serves as the multiplier.

Error Codes

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

Remarks

In order for this to be conformable, the number of columns in mA must be equal to the number of rows in mB.