Package org.joml
Interface Vector2fc
- All Known Implementing Classes:
Vector2f
public interface Vector2fc
-
Method Summary
Modifier and Type Method Description Vector2f
absolute(Vector2f vector2f)
Vector2f
add(float float1, float float2, Vector2f vector2f)
Vector2f
add(Vector2fc vector2fc, Vector2f vector2f)
float
angle(Vector2fc vector2fc)
Vector2f
ceil(Vector2f vector2f)
float
distance(float float1, float float2)
float
distance(Vector2fc vector2fc)
float
distanceSquared(float float1, float float2)
float
distanceSquared(Vector2fc vector2fc)
Vector2f
div(float float1, float float2, Vector2f vector2f)
Vector2f
div(float float1, Vector2f vector2f)
Vector2f
div(Vector2fc vector2fc, Vector2f vector2f)
float
dot(Vector2fc vector2fc)
boolean
equals(float float1, float float2)
boolean
equals(Vector2fc vector2fc, float float1)
Vector2f
floor(Vector2f vector2f)
Vector2f
fma(float float1, Vector2fc vector2fc, Vector2f vector2f)
Vector2f
fma(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2f vector2f)
float
get(int int1)
java.nio.ByteBuffer
get(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get(int int1, java.nio.FloatBuffer floatBuffer)
Vector2i
get(int int1, Vector2i vector2i)
java.nio.ByteBuffer
get(java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get(java.nio.FloatBuffer floatBuffer)
Vector2d
get(Vector2d vector2d)
Vector2f
get(Vector2f vector2f)
Vector2fc
getToAddress(long long1)
boolean
isFinite()
float
length()
float
lengthSquared()
Vector2f
lerp(Vector2fc vector2fc, float float1, Vector2f vector2f)
Vector2f
max(Vector2fc vector2fc, Vector2f vector2f)
int
maxComponent()
Vector2f
min(Vector2fc vector2fc, Vector2f vector2f)
int
minComponent()
Vector2f
mul(float float1, float float2, Vector2f vector2f)
Vector2f
mul(float float1, Vector2f vector2f)
Vector2f
mul(Matrix2dc matrix2dc, Vector2f vector2f)
Vector2f
mul(Matrix2fc matrix2fc, Vector2f vector2f)
Vector2f
mul(Vector2fc vector2fc, Vector2f vector2f)
Vector2f
mulDirection(Matrix3x2fc matrix3x2fc, Vector2f vector2f)
Vector2f
mulPosition(Matrix3x2fc matrix3x2fc, Vector2f vector2f)
Vector2f
mulTranspose(Matrix2fc matrix2fc, Vector2f vector2f)
Vector2f
negate(Vector2f vector2f)
Vector2f
normalize(float float1, Vector2f vector2f)
Vector2f
normalize(Vector2f vector2f)
Vector2f
round(Vector2f vector2f)
Vector2f
sub(float float1, float float2, Vector2f vector2f)
Vector2f
sub(Vector2fc vector2fc, Vector2f vector2f)
float
x()
float
y()
-
Method Details
-
x
float x() -
y
float y() -
get
java.nio.ByteBuffer get(java.nio.ByteBuffer byteBuffer) -
get
java.nio.ByteBuffer get(int int1, java.nio.ByteBuffer byteBuffer) -
get
java.nio.FloatBuffer get(java.nio.FloatBuffer floatBuffer) -
get
java.nio.FloatBuffer get(int int1, java.nio.FloatBuffer floatBuffer) -
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
float get(int int1) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
get
-
get
-
get
-
floor
-
ceil
-
round
-
isFinite
boolean isFinite() -
absolute
-
equals
-
equals
boolean equals(float float1, float float2)
-