Package org.joml
Interface Vector2fc
- All Known Implementing Classes:
Vector2f
public interface Vector2fc
-
Method Summary
Modifier and TypeMethodDescriptionfloatfloatdistance(float float1, float float2) floatfloatdistanceSquared(float float1, float float2) floatdistanceSquared(Vector2fc vector2fc) floatbooleanequals(float float1, float float2) booleanfloatget(int int1) get(int int1, ByteBuffer byteBuffer) get(int int1, FloatBuffer floatBuffer) get(ByteBuffer byteBuffer) get(FloatBuffer floatBuffer) getToAddress(long long1) booleanisFinite()floatlength()floatintintmulDirection(Matrix3x2fc matrix3x2fc, Vector2f vector2f) mulPosition(Matrix3x2fc matrix3x2fc, Vector2f vector2f) mulTranspose(Matrix2fc matrix2fc, Vector2f vector2f) 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 float1, float float2) -
distanceSquared
float distanceSquared(float float1, float float2) -
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 float1, float float2)
-