DirectX SDK

DirectX7.VectorDotProduct

The DirectX7.VectorDotProduct method returns the vector dot product.

object.VectorDotProduct(vA As D3DVECTOR, _
    vB As D3DVECTOR) As Single

Parameters

object
Object expression that resolves to a DirectX7 object.
vA and vB
The D3DVECTOR types from which the dot product is produced.

Return Values

If the method succeeds, the result of the dot product is returned, or zero otherwise.

Error Codes

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