Microsoft SDK for Java

transform

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.

Syntax

public void transform(D3dRMVector4d d, D3dVector s);

Parameters

d A D3dRMVector4d object that receives the result of the transformation operation.
s A D3dVector object that contains the source for the transformation operation.

Remarks

The result of the transformation is a four-element homogeneous vector.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.