Package org.vrspace.server.obj
Class Quaternion
java.lang.Object
org.vrspace.server.obj.Quaternion
Easier than Rotation to propagate quaternions, as it follows quaternion
naming convention (w rather than angle).
- Author:
- joe
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Quaternion
public Quaternion() -
Quaternion
public Quaternion(double x, double y, double z, double w)
-
-
Method Details
-
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getW
public double getW() -
setX
public void setX(double x) -
setY
public void setY(double y) -
setZ
public void setZ(double z) -
setW
public void setW(double w) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-