public class VectorHelper
extends java.lang.Object
Constructor and Description |
---|
VectorHelper() |
Modifier and Type | Method and Description |
---|---|
static net.minecraft.util.math.vector.Vector4f |
copyVector4f(net.minecraft.util.math.vector.Vector4f src) |
static net.minecraft.util.math.vector.Vector3f |
crossProduct(net.minecraft.util.math.vector.Vector3f one,
net.minecraft.util.math.vector.Vector3f two) |
static net.minecraft.util.math.vector.Vector3f |
getInverse(net.minecraft.util.math.vector.Vector3f target) |
static net.minecraft.util.math.vector.Matrix4f |
matrix4fFromFloat(float val) |
static net.minecraft.util.math.vector.Matrix4f |
matrix4FromFloatArray(float[] vals) |
static net.minecraft.util.math.vector.Matrix4f |
matrix4FromLocRot(float xl,
float yl,
float zl,
float xr,
float yr,
float zr) |
static net.minecraft.util.math.vector.Matrix4f |
mul(net.minecraft.util.math.vector.Matrix4f target,
float factor,
net.minecraft.util.math.vector.Matrix4f dest) |
static net.minecraft.util.math.vector.Vector4f |
mul(net.minecraft.util.math.vector.Vector4f target,
float factor,
net.minecraft.util.math.vector.Vector4f dest) |
static double[] |
rotate(double x,
double y,
double radians) |
static net.minecraft.util.math.vector.Vector3f |
Vector3dfFromStrings(java.lang.String x,
java.lang.String y,
java.lang.String z) |
public static double[] rotate(double x, double y, double radians)
public static net.minecraft.util.math.vector.Matrix4f matrix4FromLocRot(float xl, float yl, float zl, float xr, float yr, float zr)
public static net.minecraft.util.math.vector.Matrix4f matrix4FromFloatArray(float[] vals)
public static net.minecraft.util.math.vector.Matrix4f matrix4fFromFloat(float val)
public static net.minecraft.util.math.vector.Vector4f mul(net.minecraft.util.math.vector.Vector4f target, float factor, net.minecraft.util.math.vector.Vector4f dest)
public static net.minecraft.util.math.vector.Matrix4f mul(net.minecraft.util.math.vector.Matrix4f target, float factor, net.minecraft.util.math.vector.Matrix4f dest)
public static net.minecraft.util.math.vector.Vector3f getInverse(net.minecraft.util.math.vector.Vector3f target)
public static net.minecraft.util.math.vector.Vector3f Vector3dfFromStrings(java.lang.String x, java.lang.String y, java.lang.String z)
public static net.minecraft.util.math.vector.Vector4f copyVector4f(net.minecraft.util.math.vector.Vector4f src)
public static net.minecraft.util.math.vector.Vector3f crossProduct(net.minecraft.util.math.vector.Vector3f one, net.minecraft.util.math.vector.Vector3f two)