Class Quaternion
java.lang.Object
dev.zwazel.internal.game.transform.Quaternion
Game (right-handed coordinate system): forward = +z, up = +y, right = –x.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackward()
down()
forward()
static Quaternion
fromAxisAngle
(double x, double y, double z, double angle) double
getPitch()
double
getYaw()
left()
multiply
(Quaternion other) right()
up()
-
Constructor Details
-
Quaternion
public Quaternion(double[] values)
-
-
Method Details
-
fromAxisAngle
-
multiply
-
multiply
-
conjugate
-
apply
-
forward
-
up
-
right
-
backward
-
down
-
left
-
getPitch
public double getPitch() -
getYaw
public double getYaw()
-