|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Angle3D
public class Angle3D
This class handles angles. Basically all it does it store angles. You can directly alter the angles.
Field Summary | |
---|---|
float |
angleX
|
float |
angleY
|
float |
angleZ
|
Constructor Summary | |
---|---|
Angle3D(float x,
float y,
float z)
The constructor to create a new Angle3D. |
Method Summary | |
---|---|
void |
addAngles(Angle3D angles)
Adds the angles of another Angle3D to the current angles. |
void |
addAngles(float x,
float y,
float z)
Adds the given angles to the current angles. |
Angle3D |
copy()
Copies the current Angle3D over to a new Angle3D instance. |
static Angle3D |
getCenter(Angle3D angles1,
Angle3D angles2)
Gets the center angle between two angles. |
void |
multiplyAngles(Angle3D angles)
Multiplies the angles with a given Angle3D. |
void |
multiplyAngles(float x,
float y,
float z)
Multiplies the angles with the given angles. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float angleX
public float angleY
public float angleZ
Constructor Detail |
---|
public Angle3D(float x, float y, float z)
x
- the x-rotationy
- the y-rotationz
- the z-rotationMethod Detail |
---|
public void addAngles(float x, float y, float z)
x
- the x-rotationy
- the y-rotationz
- the z-rotationpublic void addAngles(Angle3D angles)
angles
- the Angle3Dpublic void multiplyAngles(float x, float y, float z)
x
- the x-rotationy
- the y-rotationz
- the z-rotationpublic void multiplyAngles(Angle3D angles)
angles
- the Angle3Dpublic static Angle3D getCenter(Angle3D angles1, Angle3D angles2)
angles1
- the first Angle3Dangles2
- the second Angle3D
public Angle3D copy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |