This method of the Direct3dRMViewport Class transforms the vector in the s parameter (measured in world coordinates) to screen coordinates and returns the result in the d parameter.
public void transform(D3dRMVector4d d, D3dVector s);
d | A D3dRMVector4d object that receives the result of the transformation operation. |
s | A D3dVector object that contains the source for the transformation operation. |
The result of the transformation is a four-element homogeneous vector.