Microsoft SDK for Java

vectorRotate

This method of the Direct3dRM Class rotates a vector, given a ray, vector, axis, and amount to rotate.

Syntax

public void vectorRotate(D3dVector lpr, D3dVector lpv, D3dVector lpaxis, float theta);

Parameters

lpr A D3dVector ray.
lpv A D3dVector vector.
lpaxis A D3dVector axis.
theta The amount to rotate the vector (in radians).

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