Package org.joml
Interface Vector2dc
- All Known Implementing Classes:
Vector2d
public interface Vector2dc
-
Method Summary
Modifier and Type Method Description Vector2d
add(double double1, double double2, Vector2d vector2d)
Vector2d
add(Vector2dc vector2dc, Vector2d vector2d)
Vector2d
add(Vector2fc vector2fc, Vector2d vector2d)
double
angle(Vector2dc vector2dc)
double
distance(double double1, double double2)
double
distance(Vector2dc vector2dc)
double
distance(Vector2fc vector2fc)
double
dot(Vector2dc vector2dc)
Vector2d
fma(double double1, Vector2dc vector2dc, Vector2d vector2d)
Vector2d
fma(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2d vector2d)
java.nio.ByteBuffer
get(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get(int int1, java.nio.DoubleBuffer doubleBuffer)
java.nio.ByteBuffer
get(java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get(java.nio.DoubleBuffer doubleBuffer)
double
length()
Vector2d
lerp(Vector2dc vector2dc, double double1, Vector2d vector2d)
Vector2d
mul(double double1, double double2, Vector2d vector2d)
Vector2d
mul(double double1, Vector2d vector2d)
Vector2d
mul(Vector2dc vector2dc, Vector2d vector2d)
Vector2d
negate(Vector2d vector2d)
Vector2d
normalize(Vector2d vector2d)
Vector2d
sub(double double1, double double2, Vector2d vector2d)
Vector2d
sub(Vector2dc vector2dc, Vector2d vector2d)
Vector2d
sub(Vector2fc vector2fc, Vector2d vector2d)
double
x()
double
y()
-
Method Details
-
x
double x() -
y
double y() -
get
java.nio.ByteBuffer get(java.nio.ByteBuffer byteBuffer) -
get
java.nio.ByteBuffer get(int int1, java.nio.ByteBuffer byteBuffer) -
get
java.nio.DoubleBuffer get(java.nio.DoubleBuffer doubleBuffer) -
get
java.nio.DoubleBuffer get(int int1, java.nio.DoubleBuffer doubleBuffer) -
sub
-
sub
-
sub
-
mul
-
mul
-
mul
-
dot
-
angle
-
length
double length() -
distance
-
distance
-
distance
double distance(double double1, double double2) -
normalize
-
add
-
add
-
add
-
negate
-
lerp
-
fma
-
fma
-