Package net.minecraft.src
Class Vec3D
- java.lang.Object
-
- net.minecraft.src.Vec3D
-
public class Vec3D extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Vec3D
addVector(double var1, double var3, double var5)
static void
clearVectorList()
static Vec3D
createVector(double var0, double var2, double var4)
static Vec3D
createVectorHelper(double var0, double var2, double var4)
@Client Vec3D
crossProduct(Vec3D par1Vec3D)
double
distanceTo(Vec3D par1Vec3D)
double
dotProduct(Vec3D par1Vec3D)
Vec3D
getIntermediateWithXValue(Vec3D par1Vec3D, double var2)
Vec3D
getIntermediateWithYValue(Vec3D par1Vec3D, double var2)
Vec3D
getIntermediateWithZValue(Vec3D par1Vec3D, double var2)
static void
initialize()
double
lengthVector()
Vec3D
normalize()
void
rotateAroundX(float var1)
void
rotateAroundY(float var1)
double
squareDistanceTo(double var1, double var3, double var5)
double
squareDistanceTo(Vec3D par1Vec3D)
@Client Vec3D
subtract(Vec3D par1Vec3D)
java.lang.String
toString()
-
-
-
Method Detail
-
createVectorHelper
public static Vec3D createVectorHelper(double var0, double var2, double var4)
-
clearVectorList
@Client public static void clearVectorList()
-
initialize
public static void initialize()
-
createVector
public static Vec3D createVector(double var0, double var2, double var4)
-
normalize
public Vec3D normalize()
-
dotProduct
public double dotProduct(Vec3D par1Vec3D)
-
addVector
public Vec3D addVector(double var1, double var3, double var5)
-
distanceTo
public double distanceTo(Vec3D par1Vec3D)
-
squareDistanceTo
public double squareDistanceTo(Vec3D par1Vec3D)
-
squareDistanceTo
public double squareDistanceTo(double var1, double var3, double var5)
-
lengthVector
public double lengthVector()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
rotateAroundX
public void rotateAroundX(float var1)
-
rotateAroundY
public void rotateAroundY(float var1)
-
-