Package net.minecraft.util.math.vector
Class Matrix3f
- java.lang.Object
-
- net.minecraft.util.math.vector.Matrix3f
-
public final class Matrix3f extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static float
CS
private static float
G
protected float
m00
protected float
m01
protected float
m02
protected float
m10
protected float
m11
protected float
m12
protected float
m20
protected float
m21
protected float
m22
private static float
SQ2
private static float
SS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description float
adjugateAndDet()
private static com.mojang.datafixers.util.Pair<java.lang.Float,java.lang.Float>
approxGivensQuat(float p_226113_0_, float p_226113_1_, float p_226113_2_)
Matrix3f
copy()
static Matrix3f
createScaleMatrix(float p_226117_0_, float p_226117_1_, float p_226117_2_)
boolean
equals(java.lang.Object p_equals_1_)
int
hashCode()
boolean
invert()
void
load(Matrix3f p_226114_1_)
void
mul(float p_226111_1_)
void
mul(Matrix3f p_226118_1_)
void
mul(Quaternion p_226115_1_)
void
multiplyBackward(Matrix3f other)
private static com.mojang.datafixers.util.Pair<java.lang.Float,java.lang.Float>
qrGivensQuat(float p_226112_0_, float p_226112_1_)
void
set(int p_232605_1_, int p_232605_2_, float p_232605_3_)
void
setIdentity()
private static Quaternion
stepJacobi(Matrix3f p_226120_0_)
org.apache.commons.lang3.tuple.Triple<Quaternion,Vector3f,Quaternion>
svdDecompose()
java.lang.String
toString()
void
transpose()
-
-
-
Field Detail
-
G
private static final float G
-
CS
private static final float CS
-
SS
private static final float SS
-
SQ2
private static final float SQ2
-
m00
protected float m00
-
m01
protected float m01
-
m02
protected float m02
-
m10
protected float m10
-
m11
protected float m11
-
m12
protected float m12
-
m20
protected float m20
-
m21
protected float m21
-
m22
protected float m22
-
-
Constructor Detail
-
Matrix3f
public Matrix3f()
-
Matrix3f
public Matrix3f(Quaternion p_i225696_1_)
-
Matrix3f
public Matrix3f(Matrix4f p_i225695_1_)
-
Matrix3f
public Matrix3f(Matrix3f p_i225694_1_)
-
-
Method Detail
-
createScaleMatrix
public static Matrix3f createScaleMatrix(float p_226117_0_, float p_226117_1_, float p_226117_2_)
-
approxGivensQuat
private static com.mojang.datafixers.util.Pair<java.lang.Float,java.lang.Float> approxGivensQuat(float p_226113_0_, float p_226113_1_, float p_226113_2_)
-
qrGivensQuat
private static com.mojang.datafixers.util.Pair<java.lang.Float,java.lang.Float> qrGivensQuat(float p_226112_0_, float p_226112_1_)
-
stepJacobi
private static Quaternion stepJacobi(Matrix3f p_226120_0_)
-
transpose
public void transpose()
-
svdDecompose
public org.apache.commons.lang3.tuple.Triple<Quaternion,Vector3f,Quaternion> svdDecompose()
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
load
public void load(Matrix3f p_226114_1_)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setIdentity
public void setIdentity()
-
adjugateAndDet
public float adjugateAndDet()
-
invert
public boolean invert()
-
set
public void set(int p_232605_1_, int p_232605_2_, float p_232605_3_)
-
mul
public void mul(Matrix3f p_226118_1_)
-
mul
public void mul(Quaternion p_226115_1_)
-
mul
public void mul(float p_226111_1_)
-
copy
public Matrix3f copy()
-
multiplyBackward
public void multiplyBackward(Matrix3f other)
-
-