D3DVALUE D3DRMVectorDotProduct(LPD3DVECTOR lps1, LPD3DVECTOR lps2);
Returns the vector dot product.
·Returns the result of the dot product if successful, or zero otherwise.
lps1 and lps2
Addresses of the D3DVECTOR structures from which the dot product is produced.