Package org.joml
Interface Vector2ic
- All Known Implementing Classes:
Vector2i
public interface Vector2ic
-
Method Summary
Modifier and TypeMethodDescriptiondouble
distance
(int int1, int int2) double
long
distanceSquared
(int int1, int int2) long
distanceSquared
(Vector2ic vector2ic) boolean
equals
(int int1, int int2) int
get
(int int1) get
(int int1, ByteBuffer byteBuffer) get
(ByteBuffer byteBuffer) getToAddress
(long long1) long
gridDistance
(int int1, int int2) long
gridDistance
(Vector2ic vector2ic) 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 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)
-