Package javax.vecmath
Class Vector2f
java.lang.Object
javax.vecmath.Tuple2f
javax.vecmath.Vector2f
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.vecmath.Tuple2f
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, clone, epsilonEquals, equals, equals, get, getX, getY, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, setX, setY, sub, sub, toString
-
Constructor Details
-
Vector2f
public Vector2f(float float1, float float2) -
Vector2f
public Vector2f(float[] floatArray) -
Vector2f
-
Vector2f
-
Vector2f
-
Vector2f
-
Vector2f
public Vector2f()
-
-
Method Details
-
dot
-
length
public final float length() -
lengthSquared
public final float lengthSquared() -
normalize
-
normalize
public final void normalize() -
angle
-