Platform SDK: DirectX

DirectX7.VectorSubtract

The DirectX7.VectorSubtract method subtracts two vectors.

object.VectorSubtract(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 operation.
vA
A D3DVECTOR type from which vB is subtracted.
vB
A D3DVECTOR type that is subtracted from vA.

Error Codes

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