D3DRMVectorSubtract

Subtracts two vectors.

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

Parameters

lpd

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

lps1

Address of the D3DVECTOR structure from which lps2 is subtracted.

lps2

Address of the D3DVECTOR structure that is subtracted from lps1.

Return Values

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