Package com.mojang.math
Class Matrix3f
java.lang.Object
com.mojang.math.Matrix3f
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final float
protected float
protected float
protected float
protected float
protected float
protected float
protected float
protected float
protected float
private static final int
private static final float
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
float
approxGivensQuat
(float p_8162_, float p_8163_, float p_8164_) private static int
bufferIndex
(int p_152763_, int p_152764_) copy()
static Matrix3f
createScaleMatrix
(float p_8175_, float p_8176_, float p_8177_) float
boolean
int
hashCode()
boolean
invert()
void
void
load
(FloatBuffer p_152769_) void
load
(FloatBuffer p_152771_, boolean p_152772_) void
loadTransposed
(FloatBuffer p_152774_) void
mul
(float p_8157_) void
void
mul
(Quaternion p_8172_) void
multiplyBackward
(Matrix3f other) qrGivensQuat
(float p_8159_, float p_8160_) void
set
(int p_8166_, int p_8167_, float p_8168_) void
private static void
sortSingularValues
(Matrix3f p_152766_, Quaternion p_152767_) private static Quaternion
stepJacobi
(Matrix3f p_8182_) void
store
(FloatBuffer p_152781_) void
store
(FloatBuffer p_152776_, boolean p_152777_) void
storeTransposed
(FloatBuffer p_152785_) void
org.apache.commons.lang3.tuple.Triple<Quaternion,
Vector3f, Quaternion> toString()
float
trace()
void
-
Field Details
-
ORDER
private static final int ORDER- See Also:
-
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 Details
-
Matrix3f
public Matrix3f() -
Matrix3f
-
Matrix3f
-
Matrix3f
-
-
Method Details
-
createScaleMatrix
-
approxGivensQuat
-
qrGivensQuat
-
stepJacobi
-
sortSingularValues
-
transpose
public void transpose() -
svdDecompose
-
equals
-
hashCode
public int hashCode() -
bufferIndex
private static int bufferIndex(int p_152763_, int p_152764_) -
load
-
loadTransposed
-
load
-
load
-
toString
-
store
-
storeTransposed
-
store
-
setIdentity
public void setIdentity() -
adjugateAndDet
public float adjugateAndDet() -
determinant
public float determinant() -
invert
public boolean invert() -
set
public void set(int p_8166_, int p_8167_, float p_8168_) -
mul
-
mul
-
mul
public void mul(float p_8157_) -
add
-
sub
-
trace
public float trace() -
copy
-
multiplyBackward
-