Package javax.vecmath

Class Vector4f

java.lang.Object
javax.vecmath.Tuple4f
javax.vecmath.Vector4f
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Vector4f
extends Tuple4f
implements java.io.Serializable
See Also:
Serialized Form
  • Constructor Details

    • Vector4f

      public Vector4f​(float float1, float float2, float float3, float float4)
    • Vector4f

      public Vector4f​(float[] floatArray)
    • Vector4f

      public Vector4f​(Vector4f vector4f)
    • Vector4f

      public Vector4f​(Vector4d vector4d)
    • Vector4f

      public Vector4f​(Tuple4f tuple4f)
    • Vector4f

      public Vector4f​(Tuple4d tuple4d)
    • Vector4f

      public Vector4f​(Tuple3f tuple3f)
    • Vector4f

      public Vector4f()
  • Method Details

    • set

      public final void set​(Tuple3f tuple3f)
    • length

      public final float length()
    • lengthSquared

      public final float lengthSquared()
    • dot

      public final float dot​(Vector4f vector4f)
    • normalize

      public final void normalize​(Vector4f vector4f)
    • normalize

      public final void normalize()
    • angle

      public final float angle​(Vector4f vector4f)