Class OrientationKey

java.lang.Object
me.c7dev.dexterity.util.OrientationKey

public class OrientationKey extends Object
Hashable object to represent a unique yaw, pitch, and rotation transformation's quaternion in a map
  • Field Details

  • Constructor Details

    • OrientationKey

      public OrientationKey(double yaw, double pitch, org.joml.Quaternionf q)
  • Method Details

    • getQuaternion

      public org.joml.Quaternionf getQuaternion()
    • getYaw

      public double getYaw()
    • getPitch

      public double getPitch()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object