net.minecraft.util.math

public class MatrixUtil

com.mojang.math.MatrixUtil
net.minecraft.class_7837
net.minecraft.util.math.MatrixUtil

Field summary

Modifier and TypeField
private static final float
G
field_40746
COT_PI_OVER_8
private static final GivensPair
PI_4
field_43146
SIN_COS_PI_OVER_8

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static org.joml.Matrix4f
mulComponentWise(org.joml.Matrix4f m, float factor)
method_46414(org.joml.Matrix4f arg0, float arg1)
scale(org.joml.Matrix4f matrix, float scalar)
private static GivensPair
approxGivensQuat(float a11, float a12, float a22)
method_46411(float arg0, float arg1, float arg2)
approximateGivensQuaternion(float a11, float a12, float a22)
private static GivensPair
qrGivensQuat(float a1, float a2)
method_46410(float arg0, float arg1)
qrGivensQuaternion(float a1, float a2)
private static void
similarityTransform(org.joml.Matrix3f a, org.joml.Matrix3f q)
method_49742(org.joml.Matrix3f arg0, org.joml.Matrix3f arg1)
conjugate(org.joml.Matrix3f X, org.joml.Matrix3f A)
private static void
stepJacobi(org.joml.Matrix3f m, org.joml.Matrix3f tmpMat, org.joml.Quaternionf tmpQ, org.joml.Quaternionf output)
method_46415(org.joml.Matrix3f arg0, org.joml.Matrix3f arg1, org.joml.Quaternionf arg2, org.joml.Quaternionf arg3)
applyJacobiIteration(org.joml.Matrix3f AtA, org.joml.Matrix3f tempMat, org.joml.Quaternionf tempQuat, org.joml.Quaternionf V_inout)
public static void
eigenvalueJacobi(org.joml.Matrix3f inOut, int steps, org.joml.Quaternionf result)
method_49741(org.joml.Matrix3f arg0, int arg1, org.joml.Quaternionf arg2)
applyJacobiIterations(org.joml.Matrix3f AtA, int numJacobiIterations, org.joml.Quaternionf V_out)
public static void
svdDecompose(org.joml.Matrix4fc input, org.joml.Vector3f t, org.joml.Quaternionf u, org.joml.Vector3f s, org.joml.Quaternionf v)
method_1_3883(org.joml.Matrix4fc arg0, org.joml.Vector3f arg1, org.joml.Quaternionf arg2, org.joml.Vector3f arg3, org.joml.Quaternionf arg4)
svdDecomposeAffine(org.joml.Matrix4fc A, org.joml.Vector3f translationOut, org.joml.Quaternionf leftRotationOut, org.joml.Vector3f scaleOut, org.joml.Quaternionf rightRotationOut)
private static void
svdDecompose(org.joml.Matrix3f input, org.joml.Quaternionf u, org.joml.Vector3f s, org.joml.Quaternionf v)
method_46412(org.joml.Matrix3f arg0, org.joml.Quaternionf arg1, org.joml.Vector3f arg2, org.joml.Quaternionf arg3)
svdDecompose(org.joml.Matrix3f A, org.joml.Quaternionf leftRotationOut, org.joml.Vector3f scaleOut, org.joml.Quaternionf rightRotationOut)
public static boolean
checkPropertyRaw(org.joml.Matrix4fc matrix, int property)
method_67703(org.joml.Matrix4fc arg0, int arg1)
isPropertyBitSet(org.joml.Matrix4fc matrix, int property)
public static boolean
checkProperty(org.joml.Matrix4fc matrix, int property)
method_67702(org.joml.Matrix4fc arg0, int arg1)
hasProperty(org.joml.Matrix4fc matrix, int property)
public static boolean
isIdentity(org.joml.Matrix4fc matrix)
method_65174(org.joml.Matrix4fc arg0)
isIdentity(org.joml.Matrix4fc matrix)
public static boolean
isPureTranslation(org.joml.Matrix4fc matrix)
method_56826(org.joml.Matrix4fc arg0)
isTranslation(org.joml.Matrix4fc matrix)