Modifier and Type | Field and Description |
---|---|
static Vec3i |
NULL_VECTOR |
Constructor and Description |
---|
Vec3i(double xIn,
double yIn,
double zIn) |
Vec3i(int xIn,
int yIn,
int zIn) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Vec3i p_compareTo_1_) |
Vec3i |
crossProduct(Vec3i vec) |
double |
distanceSq(double toX,
double toY,
double toZ) |
double |
distanceSq(Vec3i to) |
double |
distanceSqToCenter(double xIn,
double yIn,
double zIn) |
boolean |
equals(java.lang.Object p_equals_1_) |
double |
getDistance(int p_185332_1_,
int p_185332_2_,
int p_185332_3_) |
int |
getX() |
int |
getY() |
int |
getZ() |
int |
hashCode() |
java.lang.String |
toString() |
public static final Vec3i NULL_VECTOR
public Vec3i(int xIn, int yIn, int zIn)
public Vec3i(double xIn, double yIn, double zIn)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Vec3i p_compareTo_1_)
compareTo
in interface java.lang.Comparable<Vec3i>
public int getX()
public int getY()
public int getZ()
public double getDistance(int p_185332_1_, int p_185332_2_, int p_185332_3_)
public double distanceSq(double toX, double toY, double toZ)
public double distanceSqToCenter(double xIn, double yIn, double zIn)
public double distanceSq(Vec3i to)
public java.lang.String toString()
toString
in class java.lang.Object