yarn/mappings/net/minecraft/util/math/MatrixUtil.mapping

32 lines
1.7 KiB
Plaintext
Raw Normal View History

CLASS net/minecraft/class_7837 net/minecraft/util/math/MatrixUtil
FIELD field_40746 COT_PI_OVER_8 F
2023-03-08 09:39:45 -05:00
METHOD method_46410 qrGivensQuaternion (FF)Lnet/minecraft/class_8218;
COMMENT Computes the Givens quaternion for a QR factorization.
COMMENT See Algorithm 4 of <a href="https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf">
COMMENT https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf</a>.
COMMENT
COMMENT @return a pair {@code (c, s) = (cos(theta), sin(theta))}
ARG 0 a1
ARG 1 a2
2023-03-08 09:39:45 -05:00
METHOD method_46411 approximateGivensQuaternion (FFF)Lnet/minecraft/class_8218;
COMMENT Computes the approximate Givens rotation factors {@code (c, s) = (cos(phi), sin(phi))} for a 2×2 matrix.
COMMENT See Algorithm 4 of <a href="https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf">
COMMENT https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf</a>.
COMMENT
COMMENT @return a pair {@code (c, s) = (cos(theta), sin(theta))}
ARG 0 a11
COMMENT the top-left element of the matrix
ARG 1 a12
COMMENT the average of the two elements on the minor diagonal
ARG 2 a22
COMMENT the bottom-right element of the matrix
METHOD method_46412 svdDecompose (Lorg/joml/Matrix3f;)Lorg/apache/commons/lang3/tuple/Triple;
COMMENT Performs an approximate singular value decomposition on a 3×3 matrix.
COMMENT See Algorithm 4 of <a href="https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf">
COMMENT https://pages.cs.wisc.edu/~sifakis/papers/SVD_TR1690.pdf</a>.
ARG 0 A
METHOD method_46414 scale (Lorg/joml/Matrix4f;F)Lorg/joml/Matrix4f;
ARG 0 matrix
ARG 1 scalar
2023-03-08 09:39:45 -05:00
METHOD method_46415 applyJacobiIteration (Lorg/joml/Matrix3f;Lorg/joml/Matrix3f;Lorg/joml/Quaternionf;Lorg/joml/Quaternionf;)V