Microsoft SDK for Java

D3dRMQuaternion Class

The D3dRMQuaternion Class of the com.ms.directX package describes the rotation used by the addRotateKey method. It is also used in several of Direct3D's mathematical functions. Quaternions are an alternative to the matrix methods that are typically used for 3D rotations.

public final class D3dRMQuaternion
{
  // Fields
  public float s;
  public float x;
  public float y;
  public float z;
}

See Also

Direct3dRMAnimation

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