public class Vec3
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
xCoord |
double |
yCoord |
double |
zCoord |
Modifier | Constructor and Description |
---|---|
protected |
Vec3(double p_i1108_1_,
double p_i1108_3_,
double p_i1108_5_) |
Modifier and Type | Method and Description |
---|---|
Vec3 |
addVector(double p_72441_1_,
double p_72441_3_,
double p_72441_5_) |
static Vec3 |
createVectorHelper(double p_72443_0_,
double p_72443_2_,
double p_72443_4_) |
Vec3 |
crossProduct(Vec3 p_72431_1_) |
double |
distanceTo(Vec3 p_72438_1_) |
double |
dotProduct(Vec3 p_72430_1_) |
Vec3 |
getIntermediateWithXValue(Vec3 p_72429_1_,
double p_72429_2_) |
Vec3 |
getIntermediateWithYValue(Vec3 p_72435_1_,
double p_72435_2_) |
Vec3 |
getIntermediateWithZValue(Vec3 p_72434_1_,
double p_72434_2_) |
double |
lengthVector() |
Vec3 |
normalize() |
void |
rotateAroundX(float p_72440_1_) |
void |
rotateAroundY(float p_72442_1_) |
void |
rotateAroundZ(float p_72446_1_) |
protected Vec3 |
setComponents(double p_72439_1_,
double p_72439_3_,
double p_72439_5_) |
double |
squareDistanceTo(double p_72445_1_,
double p_72445_3_,
double p_72445_5_) |
double |
squareDistanceTo(Vec3 p_72436_1_) |
Vec3 |
subtract(Vec3 p_72444_1_) |
java.lang.String |
toString() |
public static Vec3 createVectorHelper(double p_72443_0_, double p_72443_2_, double p_72443_4_)
protected Vec3 setComponents(double p_72439_1_, double p_72439_3_, double p_72439_5_)
public Vec3 normalize()
public double dotProduct(Vec3 p_72430_1_)
public Vec3 addVector(double p_72441_1_, double p_72441_3_, double p_72441_5_)
public double distanceTo(Vec3 p_72438_1_)
public double squareDistanceTo(Vec3 p_72436_1_)
public double squareDistanceTo(double p_72445_1_, double p_72445_3_, double p_72445_5_)
public double lengthVector()
public java.lang.String toString()
toString
in class java.lang.Object
public void rotateAroundX(float p_72440_1_)
public void rotateAroundY(float p_72442_1_)
public void rotateAroundZ(float p_72446_1_)