Package javax.vecmath

Class Vector3f

java.lang.Object
javax.vecmath.Tuple3f
javax.vecmath.Vector3f
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

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

    • Vector3f

      public Vector3f​(float float1, float float2, float float3)
    • Vector3f

      public Vector3f​(float[] floatArray)
    • Vector3f

      public Vector3f​(Vector3f vector3f)
    • Vector3f

      public Vector3f​(Vector3d vector3d)
    • Vector3f

      public Vector3f​(Tuple3f tuple3f)
    • Vector3f

      public Vector3f​(Tuple3d tuple3d)
    • Vector3f

      public Vector3f()
  • Method Details

    • lengthSquared

      public final float lengthSquared()
    • length

      public final float length()
    • cross

      public final void cross​(Vector3f vector3f, Vector3f vector3f2)
    • dot

      public final float dot​(Vector3f vector3f)
    • normalize

      public final void normalize​(Vector3f vector3f)
    • normalize

      public final void normalize()
    • angle

      public final float angle​(Vector3f vector3f)