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) private static booleancheckPropertyRaw(Matrix4fc matrix, int property) static QuaternionfeigenvalueJacobi(Matrix3f inOut, int steps) static booleanisIdentity(Matrix4fc matrix) static booleanisOrthonormal(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) static org.apache.commons.lang3.tuple.Triple<Quaternionf, Vector3f, Quaternionf> svdDecompose(Matrix3f matrix)
-
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 org.apache.commons.lang3.tuple.Triple<Quaternionf, Vector3f, Quaternionf> svdDecompose(Matrix3f matrix) -
checkPropertyRaw
-
checkProperty
-
isIdentity
-
isPureTranslation
-
isOrthonormal
-