Package org.joml
Interface Vector2fc
- All Known Implementing Classes:
Vector2f
public interface Vector2fc
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
distance
(float float1, float float2) float
float
distanceSquared
(float float1, float float2) float
distanceSquared
(Vector2fc vector2fc) float
boolean
equals
(float float1, float float2) boolean
float
get
(int int1) get
(int int1, ByteBuffer byteBuffer) get
(int int1, FloatBuffer floatBuffer) get
(ByteBuffer byteBuffer) get
(FloatBuffer floatBuffer) getToAddress
(long long1) boolean
isFinite()
float
length()
float
int
int
mulDirection
(Matrix3x2fc matrix3x2fc, Vector2f vector2f) mulPosition
(Matrix3x2fc matrix3x2fc, Vector2f vector2f) mulTranspose
(Matrix2fc matrix2fc, Vector2f vector2f) float
x()
float
y()
-
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)
-