Class MatrixUtil
java.lang.Object
com.mojang.math.MatrixUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final GivensParameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static GivensParametersapproxGivensQuat(float a11, float a12, float a22) static booleancheckProperty(Matrix4fc matrix, int property) static booleancheckPropertyRaw(Matrix4fc matrix, int property) static voideigenvalueJacobi(Matrix3f inOut, int steps, Quaternionf result) static booleanisIdentity(Matrix4fc matrix) static booleanisPureTranslation(Matrix4fc matrix) static Matrix4fmulComponentWise(Matrix4f m, float factor) private static GivensParametersqrGivensQuat(float a1, float a2) private static voidprivate static voidstepJacobi(Matrix3f m, Matrix3f tmpMat, Quaternionf tmpQ, Quaternionf output) private static voidsvdDecompose(Matrix3f input, Quaternionf u, Vector3f s, Quaternionf v) static voidsvdDecompose(Matrix4fc input, Vector3f t, Quaternionf u, Vector3f s, Quaternionf v)
-
Field Details
-
G
private static final float G -
PI_4
-
-
Constructor Details
-
MatrixUtil
private MatrixUtil()
-
-
Method Details
-
mulComponentWise
-
approxGivensQuat
-
qrGivensQuat
-
similarityTransform
-
stepJacobi
-
eigenvalueJacobi
-
svdDecompose
public static void svdDecompose(Matrix4fc input, Vector3f t, Quaternionf u, Vector3f s, Quaternionf v) -
svdDecompose
-
checkPropertyRaw
-
checkProperty
-
isIdentity
-
isPureTranslation
-