Platform SDK: DirectX

DirectX7.VectorCrossProduct

The DirectX7.VectorCrossProduct method calculates the cross product of the two vector arguments.

object.VectorCrossProduct(v As D3DVECTOR, _
    vA As D3DVECTOR, _
    vB As D3DVECTOR)

Parameters

object
Object expression that resolves to a DirectX7 object.
v
A D3DVECTOR type that will contain the result of the cross product.
vA and vB
The D3DVECTOR types from which the cross product is produced.

Error Codes

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