Class Tuple4f

  • Direct Known Subclasses:
    Color4f, Point4f, Quat4f, Vector4f

    public class Tuple4f
    extends java.lang.Object
    Vector math package, converted to look similar to javax.vecmath.
    • Field Detail

      • x

        public float x
      • y

        public float y
      • z

        public float z
      • w

        public float w
    • Constructor Detail

      • Tuple4f

        public Tuple4f()
      • Tuple4f

        public Tuple4f​(float[] x)
      • Tuple4f

        public Tuple4f​(float x,
                       float y,
                       float z,
                       float w)
      • Tuple4f

        public Tuple4f​(Tuple4f t)
    • Method Detail

      • absolute

        public void absolute()
      • absolute

        public void absolute​(Tuple4f t)
      • clamp

        public void clamp​(float min,
                          float max)
      • set

        public void set​(float x,
                        float y,
                        float z,
                        float w)
      • set

        public void set​(float[] x)
      • set

        public void set​(Tuple4f t)
      • get

        public void get​(Tuple4f t)
      • get

        public void get​(float[] t)
      • negate

        public void negate()
      • negate

        public void negate​(Tuple4f t)
      • interpolate

        public void interpolate​(Tuple4f t,
                                float alpha)
      • scale

        public void scale​(float s)
      • add

        public void add​(Tuple4f t)
      • sub

        public void sub​(Tuple4f t)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object