Class anim.RotateXParam
All Packages Class Hierarchy This Package Previous Next Index
Class anim.RotateXParam
java.lang.Object
|
+----anim.RotateXParam
- public class RotateXParam
- extends Object
A parameter for rotation about the x axis
Copyright (c) 1996-1997 Intel Corporation
-
Angle
- angle in degrees to rotate.
-
Axis
- Axis about which to rotate.
-
RotateXParam()
- Default constructor.
-
RotateXParam(float)
- Constructor using passed in Angle.
-
RotateXParam(float, int)
- Constructor using passed in Angle,Axis
-
RotateXParam(RotateXParam)
- Constructor using passed in RotateXParam
-
addAngle(float)
-
-
equals(RotateXParam)
-
-
toString()
-
Angle
public float Angle
- angle in degrees to rotate. Default is 0.0. Positive angles cause
a counter-clockwise rotation when looking at the object from
the right of the object.
Axis
public int Axis
- Axis about which to rotate. Default is 0 which would cause a rotation
about the top of the object.
RotateXParam
public RotateXParam(float Angle,
int Axis)
- Constructor using passed in Angle,Axis
RotateXParam
public RotateXParam(float Angle)
- Constructor using passed in Angle. The axis is set to 0
RotateXParam
public RotateXParam()
- Default constructor. Sets Angle to 0.0 and Axis to 0
RotateXParam
public RotateXParam(RotateXParam param)
- Constructor using passed in RotateXParam
equals
public boolean equals(RotateXParam test)
addAngle
public float addAngle(float angleDelta)
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index