Package org.joml
Interface Vector2fc
- All Known Implementing Classes:
Vector2f
public interface Vector2fc
-
Method Summary
Modifier and Type Method Description Vector2f
add(float float1, float float2, Vector2f vector2f)
Vector2f
add(Vector2fc vector2fc, Vector2f vector2f)
float
angle(Vector2fc vector2fc)
float
distance(float float1, float float2)
float
distance(Vector2fc vector2fc)
float
distanceSquared(float float1, float float2)
float
distanceSquared(Vector2fc vector2fc)
float
dot(Vector2fc vector2fc)
Vector2f
fma(float float1, Vector2fc vector2fc, Vector2f vector2f)
Vector2f
fma(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2f vector2f)
java.nio.ByteBuffer
get(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get(int int1, java.nio.FloatBuffer floatBuffer)
java.nio.ByteBuffer
get(java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get(java.nio.FloatBuffer floatBuffer)
float
length()
float
lengthSquared()
Vector2f
lerp(Vector2fc vector2fc, float float1, Vector2f vector2f)
Vector2f
mul(float float1, float float2, Vector2f vector2f)
Vector2f
mul(float float1, Vector2f vector2f)
Vector2f
mul(Vector2fc vector2fc, Vector2f vector2f)
Vector2f
negate(Vector2f vector2f)
Vector2f
normalize(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) -
sub
-
sub
-
dot
-
angle
-
length
float length() -
lengthSquared
float lengthSquared() -
distance
-
distanceSquared
-
distance
float distance(float float1, float float2) -
distanceSquared
float distanceSquared(float float1, float float2) -
normalize
-
add
-
add
-
negate
-
mul
-
mul
-
mul
-
lerp
-
fma
-
fma
-