blob: b2b7e6807c2f92633ab1f87d897b0a73c968af43 [file] [log] [blame] [raw]
package net.lightstone.model;
public final class Rotation {
public static final Rotation ZERO = new Rotation(0, 0, 0);
private final double yaw, pitch, roll;
public Rotation(double yaw, double pitch) {
this(yaw, pitch, 0);
}
public Rotation(double yaw, double pitch, int roll) {
this.yaw = yaw;
this.pitch = pitch;
this.roll = roll;
}
public double getYaw() {
return yaw;
}
public double getPitch() {
return pitch;
}
public double getRoll() {
return roll;
}
}