D3DRMVectorAdd

Adds two vectors.

LPD3DVECTOR D3DRMVectorAdd(
LPD3DVECTOR lpd,
LPD3DVECTOR lps1,
LPD3DVECTOR lps2
);

Parameters

lpd

Address of a D3DVECTOR structure that will contain the result of the addition.

lps1 and lps2

Addresses of the D3DVECTOR structures that will be added together.

Return Values

Returns the address of the vector that was passed as the first parameter if successful, or zero otherwise.