Interface Vector2ic
-
Method Summary
Modifier and TypeMethodDescriptiondoubledistance(int arg0, int arg1) doublelongdistanceSquared(int arg0, int arg1) longdistanceSquared(Vector2ic arg0) booleanequals(int arg0, int arg1) intget(int arg0) get(int arg0, ByteBuffer arg1) get(ByteBuffer arg0) getToAddress(long arg0) longgridDistance(int arg0, int arg1) longgridDistance(Vector2ic arg0) 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 arg0, int arg1) -
distanceSquared
-
distanceSquared
long distanceSquared(int arg0, int arg1) -
gridDistance
-
gridDistance
long gridDistance(int arg0, int arg1) -
add
-
add
-
mul
-
mul
-
mul
-
div
-
div
-
negate
-
min
-
max
-
maxComponent
int maxComponent() -
minComponent
int minComponent() -
absolute
-
get
- Throws:
IllegalArgumentException
-
equals
boolean equals(int arg0, int arg1)
-