Move affine transformation and vector 4f to regular util math (#2074)

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2021-02-15 16:40:39 -06:00 committed by GitHub
parent 629b96e84a
commit 896d6340d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,6 @@
CLASS net/minecraft/class_4590 net/minecraft/client/util/math/AffineTransformation
CLASS net/minecraft/class_4590 net/minecraft/util/math/AffineTransformation
COMMENT @implNote Even though this is used only on the client, it accesses protected
COMMENT fields from {@link Matrix4f}, which requires them to be in the same package.
FIELD field_20900 matrix Lnet/minecraft/class_1159;
FIELD field_20901 initialized Z
FIELD field_20902 translation Lnet/minecraft/class_1160;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_4609 net/minecraft/client/util/math/AffineTransformations
CLASS net/minecraft/class_4609 net/minecraft/util/math/AffineTransformations
FIELD field_21021 DIRECTION_ROTATIONS Ljava/util/Map;
FIELD field_21022 INVERTED_DIRECTION_ROTATIONS Ljava/util/Map;
FIELD field_21023 LOGGER Lorg/apache/logging/log4j/Logger;

View File

@ -1,4 +1,6 @@
CLASS net/minecraft/class_1162 net/minecraft/client/util/math/Vector4f
CLASS net/minecraft/class_1162 net/minecraft/util/math/Vector4f
COMMENT @implNote Even though this is used only on the client, it accesses protected
COMMENT fields from {@link Matrix4f}, which requires them to be in the same package.
FIELD field_21486 x F
FIELD field_21487 y F
FIELD field_21488 z F