com.robrohan.ruin.math3d
Class MotionPos

java.lang.Object
  |
  +--com.robrohan.ruin.math3d.Pos
        |
        +--com.robrohan.ruin.math3d.MotionPos
All Implemented Interfaces:
java.io.Serializable

public class MotionPos
extends Pos

used mostly like a camera object

See Also:
Serialized Form

Constructor Summary
MotionPos(float x, float y, float z, float dir)
           
MotionPos(float x, float y, float z, float dir, float xa, float ya, float za, float dira)
           
 
Method Summary
 void accelerateRelative(float xaa, float zaa)
          moves
 void accelerateRelative(float xaa, float zaa, float diraa)
          moves
 float getDira()
           
 float getXa()
           
 float getYa()
           
 float getZa()
           
 void inertia(float xi, float yi, float zi, float diri)
           
 void move()
           
 void setDira(float dira)
           
 void setXa(float xa)
           
 void setYa(float ya)
           
 void setZa(float za)
           
 
Methods inherited from class com.robrohan.ruin.math3d.Pos
getCopy, getDir, getX, getY, getZ, move, moveRelative, moveTo, moveTo, setDir, setX, setY, setZ, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MotionPos

public MotionPos(float x,
                 float y,
                 float z,
                 float dir)

MotionPos

public MotionPos(float x,
                 float y,
                 float z,
                 float dir,
                 float xa,
                 float ya,
                 float za,
                 float dira)
Method Detail

getXa

public float getXa()

getYa

public float getYa()

getZa

public float getZa()

getDira

public float getDira()

setXa

public void setXa(float xa)

setYa

public void setYa(float ya)

setZa

public void setZa(float za)

setDira

public void setDira(float dira)

move

public void move()

inertia

public void inertia(float xi,
                    float yi,
                    float zi,
                    float diri)

accelerateRelative

public void accelerateRelative(float xaa,
                               float zaa)
moves


accelerateRelative

public void accelerateRelative(float xaa,
                               float zaa,
                               float diraa)
moves