D3DRMVectorModulus

Returns the length of a vector according to the following formula:

D3DVALUE D3DRMVectorModulus(
LPD3DVECTOR lpv
);

Parameters

lpv

Address of the D3DVECTOR structure whose length is returned.

Return Values

Returns the length of the D3DVECTOR structure if successful, or zero otherwise.