DirectX SDK

DirectX7.VectorAdd

The DirectX7.VectorAdd method adds two vectors.

object.VectorAdd(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 addition.
vA and vB
The D3DVECTOR types that will be added together.

Error Codes

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