|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.robrohan.ruin.math3d.Pos
Constructor Summary | |
Pos(float x,
float y,
float z,
float dir)
|
Method Summary | |
Pos |
getCopy()
|
float |
getDir()
|
float |
getX()
|
float |
getY()
|
float |
getZ()
|
void |
move(float xa,
float ya,
float za,
float dira)
the main funtion to move the object around poition + direction |
void |
moveRelative(float xa,
float za)
used move with adjusting the Y axis (the up down axis) |
void |
moveTo(float x,
float y,
float z,
float dir)
a quick placement. |
void |
moveTo(Pos pos)
a quick placement. |
void |
setDir(float dir)
|
void |
setX(float x)
|
void |
setY(float y)
|
void |
setZ(float z)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Pos(float x, float y, float z, float dir)
Method Detail |
public float getX()
public float getY()
public float getZ()
public float getDir()
public void setX(float x)
public void setY(float y)
public void setZ(float z)
public void setDir(float dir)
public void move(float xa, float ya, float za, float dira)
public void moveTo(Pos pos)
public void moveTo(float x, float y, float z, float dir)
public void moveRelative(float xa, float za)
public java.lang.String toString()
toString
in class java.lang.Object
public Pos getCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |