Class Quaternion

java.lang.Object
javaforce.gl.Quaternion

public class Quaternion extends Object
  • Field Details

    • x

      public float x
    • y

      public float y
    • z

      public float z
    • w

      public float w
  • Constructor Details

    • Quaternion

      public Quaternion()
  • Method Details

    • set

      public void set(float x, float y, float z, Angles3.Order order)
      Set values based on Euler Angles (x,y,z).
    • set

      public void set(Angles3 a3, Angles3.Order order)
      Set values based on Euler Angles (Angles3).
    • toString

      public String toString()
      Overrides:
      toString in class Object