Class QuaternionRotator
java.lang.Object
org.skriptlang.skript.bukkit.misc.rotation.QuaternionRotator
- All Implemented Interfaces:
Rotator<org.joml.Quaternionf>
Rotates
Quaternionf
s around the X, Y, and Z axes, as well as any arbitrary axis.
Supports all local axes.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.skriptlang.skript.bukkit.misc.rotation.Rotator
Rotator.Axis
-
Constructor Summary
ConstructorDescriptionQuaternionRotator
(Rotator.Axis axis, float angle) QuaternionRotator
(Rotator.Axis axis, org.joml.Vector3f vector, float angle) -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Quaternionf
rotate
(org.joml.Quaternionf input) Rotates the input around the rotator's axis by the rotator's angle.
-
Constructor Details
-
QuaternionRotator
-
QuaternionRotator
-
-
Method Details