Class QuaternionHelper
java.lang.Object
com.pixelmonmod.pixelmon.api.util.helpers.QuaternionHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.joml.Quaternionf
fromEuler
(float deg, float x, float y, float z) static org.joml.Quaternionf
fromOld
(float x, float y, float z, boolean degrees) static void
mulPose
(com.mojang.blaze3d.vertex.PoseStack matrix, float deg, float x, float y, float z) static org.joml.Quaternionf
multiply
(org.joml.Quaternionf q1, org.joml.Quaternionf q2)
-
Constructor Details
-
QuaternionHelper
public QuaternionHelper()
-
-
Method Details
-
fromOld
public static org.joml.Quaternionf fromOld(float x, float y, float z, boolean degrees) -
fromEuler
public static org.joml.Quaternionf fromEuler(float deg, float x, float y, float z) -
mulPose
public static void mulPose(com.mojang.blaze3d.vertex.PoseStack matrix, float deg, float x, float y, float z) -
multiply
public static org.joml.Quaternionf multiply(org.joml.Quaternionf q1, org.joml.Quaternionf q2)
-