LPD3DVECTOR D3DRMVectorScale(LPD3DVECTOR lpd, LPD3DVECTOR lps,
D3DVALUE factor);
Scales a vector uniformly in all three axes.
·Returns the address of the vector that was passed as the first parameter if successful, or zero otherwise.
lpd
Address of a D3DVECTOR structure that will contain the result of the operation.
lps
Address of a D3DVECTOR structure that this function scales.
factor
Scaling factor. A value of 1 does not change the scaling; a value of 2 doubles it, and so on.