Package gaiasky.scene.record
Class QuaternionTransform
java.lang.Object
gaiasky.scene.record.QuaternionTransform
- All Implemented Interfaces:
ITransform
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(com.badlogic.gdx.math.Matrix4 mat) void
void
setQuaternion
(double[] xyzw) void
setQuaternion
(double axisX, double axisY, double axisZ, double angle) void
setQuaternion
(QuaternionDouble quaternion) void
setQuaternion
(Vector3d axis, double angle)
-
Constructor Details
-
QuaternionTransform
public QuaternionTransform()
-
-
Method Details
-
apply
public void apply(com.badlogic.gdx.math.Matrix4 mat) - Specified by:
apply
in interfaceITransform
-
apply
- Specified by:
apply
in interfaceITransform
-
setQuaternion
-
setQuaternion
-
setQuaternion
public void setQuaternion(double axisX, double axisY, double axisZ, double angle) -
setQuaternion
public void setQuaternion(double[] xyzw)
-