Microsoft SDK for Java

vectorScale

This method of the Direct3dRM Class scales one vector to another by a specified factor.

Syntax

public void vectorScale(D3dVector lpd, D3dVector lps, float factor);

Parameters

lpd A D3dVector object that receives the result of the scaling operation.
lps A D3dVector object that contains the source vector.
The factor to scale lps by.

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