Package org.joml
Interface Vector2ic
- All Known Implementing Classes:
Vector2i
public interface Vector2ic
-
Method Summary
Modifier and TypeMethodDescriptiondoubledistance(int int1, int int2) doublelongdistanceSquared(int int1, int int2) longdistanceSquared(Vector2ic vector2ic) booleanequals(int int1, int int2) intget(int int1) get(int int1, ByteBuffer byteBuffer) get(ByteBuffer byteBuffer) getToAddress(long long1) longgridDistance(int int1, int int2) longgridDistance(Vector2ic vector2ic) doublelength()longintintintx()inty()
-
Method Details
-
x
int x() -
y
int y() -
get
-
get
-
get
-
get
-
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
- Throws:
IllegalArgumentException
-
equals
boolean equals(int int1, int int2)
-