2022-10-31 21:11:45 -04:00
|
|
|
|
CLASS net/minecraft/class_7837 net/minecraft/util/math/MatrixUtil
|
2023-01-31 08:03:27 -05:00
|
|
|
|
FIELD field_40746 COT_PI_OVER_8 F
|
2022-10-31 21:11:45 -04:00
|
|
|
|
FIELD field_40747 COS_PI_OVER_8 F
|
|
|
|
|
FIELD field_40748 SIN_PI_OVER_8 F
|
2023-01-31 08:03:27 -05:00
|
|
|
|
METHOD method_46410 qrGivensQuaternion (FF)Lcom/mojang/datafixers/util/Pair;
|
|
|
|
|
COMMENT Compute the Givens quaternion for a QR factorization.
|
|
|
|
|
COMMENT
|
|
|
|
|
COMMENT @return a pair (c, s) = (cos(theta), sin(theta))
|
|
|
|
|
COMMENT @see Algorithm 4 of https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf
|
|
|
|
|
ARG 0 a1
|
|
|
|
|
ARG 1 a2
|
|
|
|
|
METHOD method_46411 approximateGivensQuaternion (FFF)Lcom/mojang/datafixers/util/Pair;
|
2023-02-01 10:33:02 -05:00
|
|
|
|
COMMENT the bottom-right element of the matrix
|
2023-01-31 08:03:27 -05:00
|
|
|
|
ARG 0 a11
|
|
|
|
|
ARG 1 a12
|
|
|
|
|
ARG 2 a22
|
2022-10-31 21:11:45 -04:00
|
|
|
|
METHOD method_46412 svdDecompose (Lorg/joml/Matrix3f;)Lorg/apache/commons/lang3/tuple/Triple;
|
2023-01-31 08:03:27 -05:00
|
|
|
|
COMMENT Performs an approximate singular value decomposition on a 3×3 matrix.
|
|
|
|
|
COMMENT
|
|
|
|
|
COMMENT @see https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf
|
|
|
|
|
ARG 0 A
|
2022-10-31 21:11:45 -04:00
|
|
|
|
METHOD method_46413 affineTransform (Lorg/joml/Matrix4f;)Lorg/joml/Matrix4x3f;
|
|
|
|
|
ARG 0 matrix
|
|
|
|
|
METHOD method_46414 scale (Lorg/joml/Matrix4f;F)Lorg/joml/Matrix4f;
|
|
|
|
|
ARG 0 matrix
|
|
|
|
|
ARG 1 scalar
|
2023-01-31 08:03:27 -05:00
|
|
|
|
METHOD method_46415 applyJacobiIteration (Lorg/joml/Matrix3f;)Lorg/joml/Quaternionf;
|
|
|
|
|
ARG 0 S
|