|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.brackeen.javagamebook.math3D.Transform3D
The Transform3D class represents a rotation and translation.
Constructor Summary | |
Transform3D()
Creates a new Transform3D with no translation or rotation. |
|
Transform3D(float x,
float y,
float z)
Creates a new Transform3D with the specified translation and no rotation. |
|
Transform3D(Transform3D v)
Creates a new Transform3D |
Method Summary | |
java.lang.Object |
clone()
|
float |
getAngleX()
|
float |
getAngleY()
|
float |
getAngleZ()
|
float |
getCosAngleX()
|
float |
getCosAngleY()
|
float |
getCosAngleZ()
|
Vector3D |
getLocation()
Gets the location (translation) of this transform. |
float |
getSinAngleX()
|
float |
getSinAngleY()
|
float |
getSinAngleZ()
|
void |
rotateAngle(float angleX,
float angleY,
float angleZ)
|
void |
rotateAngleX(float angle)
|
void |
rotateAngleY(float angle)
|
void |
rotateAngleZ(float angle)
|
void |
setAngle(float angleX,
float angleY,
float angleZ)
|
void |
setAngleX(float angleX)
|
void |
setAngleY(float angleY)
|
void |
setAngleZ(float angleZ)
|
void |
setTo(Transform3D v)
Sets this Transform3D to the specified Transform3D. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Transform3D()
public Transform3D(float x, float y, float z)
public Transform3D(Transform3D v)
Method Detail |
public java.lang.Object clone()
public void setTo(Transform3D v)
public Vector3D getLocation()
public float getCosAngleX()
public float getSinAngleX()
public float getCosAngleY()
public float getSinAngleY()
public float getCosAngleZ()
public float getSinAngleZ()
public float getAngleX()
public float getAngleY()
public float getAngleZ()
public void setAngleX(float angleX)
public void setAngleY(float angleY)
public void setAngleZ(float angleZ)
public void setAngle(float angleX, float angleY, float angleZ)
public void rotateAngleX(float angle)
public void rotateAngleY(float angle)
public void rotateAngleZ(float angle)
public void rotateAngle(float angleX, float angleY, float angleZ)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |