Class QuaternionHelper

java.lang.Object
com.pixelmonmod.pixelmon.api.util.helpers.QuaternionHelper

public class QuaternionHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)