Package org.joml
Interface Vector2ic
- All Known Implementing Classes:
Vector2i
public interface Vector2ic
-
Method Summary
Modifier and Type Method Description Vector2i
absolute(Vector2i vector2i)
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)
Vector2i
div(float float1, Vector2i vector2i)
Vector2i
div(int int1, Vector2i vector2i)
boolean
equals(int int1, int int2)
int
get(int int1)
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)
Vector2ic
getToAddress(long long1)
long
gridDistance(int int1, int int2)
long
gridDistance(Vector2ic vector2ic)
double
length()
long
lengthSquared()
Vector2i
max(Vector2ic vector2ic, Vector2i vector2i)
int
maxComponent()
Vector2i
min(Vector2ic vector2ic, Vector2i vector2i)
int
minComponent()
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) -
getToAddress
-
sub
-
sub
-
lengthSquared
long lengthSquared() -
length
double length() -
distance
-
distance
double distance(int int1, int int2) -
distanceSquared
-
distanceSquared
long distanceSquared(int int1, int int2) -
gridDistance
-
gridDistance
long gridDistance(int int1, int int2) -
add
-
add
-
mul
-
mul
-
mul
-
div
-
div
-
negate
-
min
-
max
-
maxComponent
int maxComponent() -
minComponent
int minComponent() -
absolute
-
get
int get(int int1) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
equals
boolean equals(int int1, int int2)
-