Class Vector4f

java.lang.Object
com.jhlabs.vecmath.Tuple4f
com.jhlabs.vecmath.Vector4f

public class Vector4f extends Tuple4f
Vector math package, converted to look similar to javax.vecmath.
  • Constructor Details

    • Vector4f

      public Vector4f()
    • Vector4f

      public Vector4f(float[] x)
    • Vector4f

      public Vector4f(float x, float y, float z, float w)
    • Vector4f

      public Vector4f(Vector4f t)
    • Vector4f

      public Vector4f(Tuple4f t)
  • Method Details

    • dot

      public float dot(Vector4f v)
    • length

      public float length()
    • normalize

      public void normalize()