Package org.joml
Interface Vector2ic
- All Known Implementing Classes:
Vector2i
public interface Vector2ic
-
Method Summary
Modifier and Type Method Description Vector2i
add(int int1, int int2, Vector2i vector2i)
Vector2i
add(Vector2ic vector2ic, Vector2i vector2i)
double
distance(int int1, int int2)
double
distance(Vector2ic vector2ic)
long
distanceSquared(int int1, int int2)
long
distanceSquared(Vector2ic vector2ic)
java.nio.ByteBuffer
get(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.IntBuffer
get(int int1, java.nio.IntBuffer intBuffer)
java.nio.ByteBuffer
get(java.nio.ByteBuffer byteBuffer)
java.nio.IntBuffer
get(java.nio.IntBuffer intBuffer)
double
length()
long
lengthSquared()
Vector2i
mul(int int1, int int2, Vector2i vector2i)
Vector2i
mul(int int1, Vector2i vector2i)
Vector2i
mul(Vector2ic vector2ic, Vector2i vector2i)
Vector2i
negate(Vector2i vector2i)
Vector2i
sub(int int1, int int2, Vector2i vector2i)
Vector2i
sub(Vector2ic vector2ic, Vector2i vector2i)
int
x()
int
y()
-
Method Details
-
x
int x() -
y
int y() -
get
java.nio.ByteBuffer get(java.nio.ByteBuffer byteBuffer) -
get
java.nio.ByteBuffer get(int int1, java.nio.ByteBuffer byteBuffer) -
get
java.nio.IntBuffer get(java.nio.IntBuffer intBuffer) -
get
java.nio.IntBuffer get(int int1, java.nio.IntBuffer intBuffer) -
sub
-
sub
-
lengthSquared
long lengthSquared() -
length
double length() -
distance
-
distance
double distance(int int1, int int2) -
distanceSquared
-
distanceSquared
long distanceSquared(int int1, int int2) -
add
-
add
-
mul
-
mul
-
mul
-
negate
-