Calculates the cross product of the two vector arguments.
LPD3DVECTOR D3DRMVectorCrossProduct(
LPD3DVECTOR lpd,
LPD3DVECTOR lps1,
LPD3DVECTOR lps2
);
Parameters
lpd
Address of a D3DVECTOR structure that will contain the result of the cross product.
lps1 and lps2
Addresses of the D3DVECTOR structures from which the cross product is produced.
Return Values
Returns the address of the vector that was passed as the first parameter if successful, or zero otherwise.