Package com.mojang.math
Class MatrixUtil
java.lang.Object
com.mojang.math.MatrixUtil
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final GivensParameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static GivensParameters
approxGivensQuat
(float p_276275_, float p_276276_, float p_276282_) static org.joml.Quaternionf
eigenvalueJacobi
(org.joml.Matrix3f p_276278_, int p_276269_) static boolean
isOrthonormal
(org.joml.Matrix4f p_323931_) static boolean
isPureTranslation
(org.joml.Matrix4f p_324331_) static org.joml.Matrix4f
mulComponentWise
(org.joml.Matrix4f p_254173_, float p_253864_) private static GivensParameters
qrGivensQuat
(float p_253897_, float p_254413_) private static void
similarityTransform
(org.joml.Matrix3f p_276319_, org.joml.Matrix3f p_276263_) private static void
stepJacobi
(org.joml.Matrix3f p_276262_, org.joml.Matrix3f p_276279_, org.joml.Quaternionf p_276314_, org.joml.Quaternionf p_276299_) static org.apache.commons.lang3.tuple.Triple
<org.joml.Quaternionf, org.joml.Vector3f, org.joml.Quaternionf> svdDecompose
(org.joml.Matrix3f p_253947_)
-
Field Details
-
G
private static final float G -
PI_4
-
-
Constructor Details
-
MatrixUtil
private MatrixUtil()
-
-
Method Details
-
mulComponentWise
public static org.joml.Matrix4f mulComponentWise(org.joml.Matrix4f p_254173_, float p_253864_) -
approxGivensQuat
-
qrGivensQuat
-
similarityTransform
private static void similarityTransform(org.joml.Matrix3f p_276319_, org.joml.Matrix3f p_276263_) -
stepJacobi
private static void stepJacobi(org.joml.Matrix3f p_276262_, org.joml.Matrix3f p_276279_, org.joml.Quaternionf p_276314_, org.joml.Quaternionf p_276299_) -
eigenvalueJacobi
public static org.joml.Quaternionf eigenvalueJacobi(org.joml.Matrix3f p_276278_, int p_276269_) -
svdDecompose
public static org.apache.commons.lang3.tuple.Triple<org.joml.Quaternionf,org.joml.Vector3f, svdDecomposeorg.joml.Quaternionf> (org.joml.Matrix3f p_253947_) -
isPureTranslation
public static boolean isPureTranslation(org.joml.Matrix4f p_324331_) -
isOrthonormal
public static boolean isOrthonormal(org.joml.Matrix4f p_323931_)
-