Interface Vector2fc
-
Method Summary
Modifier and TypeMethodDescriptionfloatfloatdistance(float arg0, float arg1) floatfloatdistanceSquared(float arg0, float arg1) floatdistanceSquared(Vector2fc arg0) floatbooleanequals(float arg0, float arg1) booleanfloatget(int arg0) get(int arg0, ByteBuffer arg1) get(int arg0, FloatBuffer arg1) get(ByteBuffer arg0) get(FloatBuffer arg0) getToAddress(long arg0) booleanisFinite()floatlength()floatintintmulDirection(Matrix3x2fc arg0, Vector2f arg1) mulPosition(Matrix3x2fc arg0, Vector2f arg1) mulTranspose(Matrix2fc arg0, Vector2f arg1) floatx()floaty()
-
Method Details
-
x
float x() -
y
float y() -
get
-
get
-
get
-
get
-
getToAddress
-
sub
-
sub
-
dot
-
angle
-
lengthSquared
float lengthSquared() -
length
float length() -
distance
-
distanceSquared
-
distance
float distance(float arg0, float arg1) -
distanceSquared
float distanceSquared(float arg0, float arg1) -
normalize
-
normalize
-
add
-
add
-
negate
-
mul
-
mul
-
mul
-
div
-
div
-
div
-
mul
-
mul
-
mulTranspose
-
mulPosition
-
mulDirection
-
lerp
-
fma
-
fma
-
min
-
max
-
maxComponent
int maxComponent() -
minComponent
int minComponent() -
get
- Throws:
IllegalArgumentException
-
get
-
get
-
get
-
floor
-
ceil
-
round
-
isFinite
boolean isFinite() -
absolute
-
equals
-
equals
boolean equals(float arg0, float arg1)
-