wiiusej
Class Orientation
java.lang.Object
wiiusej.Orientation
public class Orientation
- extends java.lang.Object
Class that represents the orientation of the wiimote.
- Author:
- gduche
|
Constructor Summary |
Orientation()
Default constructor. |
Orientation(float r,
float p,
float y)
Contructor with raw, pitch , yaw. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Orientation
public Orientation()
- Default constructor.
Orientation
public Orientation(float r,
float p,
float y)
- Contructor with raw, pitch , yaw.
- Parameters:
r - rawp - pitchy - yaw
getRoll
public float getRoll()
- Returns:
- the roll
setRoll
public void setRoll(float roll)
- Parameters:
roll - the roll to set
getPitch
public float getPitch()
- Returns:
- the pitch
setPitch
public void setPitch(float pitch)
- Parameters:
pitch - the pitch to set
getYaw
public float getYaw()
- Returns:
- the yaw
setYaw
public void setYaw(float yaw)
- Parameters:
yaw - the yaw to set
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object