Interface Vector2ic
-
Method Summary
Modifier and TypeMethodDescriptiondouble
distance
(int arg0, int arg1) double
long
distanceSquared
(int arg0, int arg1) long
distanceSquared
(Vector2ic arg0) boolean
equals
(int arg0, int arg1) int
get
(int arg0) get
(int arg0, ByteBuffer arg1) get
(ByteBuffer arg0) getToAddress
(long arg0) long
gridDistance
(int arg0, int arg1) long
gridDistance
(Vector2ic arg0) double
length()
long
int
int
int
x()
int
y()
-
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)
-