Tiny quaternion fixes (#1022)

* Re-add missing quaternion mappings

* Vector4f.rotate
This commit is contained in:
Erlend Åmdal 2019-12-26 13:27:36 +01:00 committed by modmuss50
parent 232787ac4e
commit 9402c417ee
2 changed files with 5 additions and 2 deletions

View File

@ -23,8 +23,8 @@ CLASS net/minecraft/class_1162 net/minecraft/client/util/math/Vector4f
ARG 2 y
ARG 3 z
ARG 4 w
METHOD method_23852 setQuarternion (Lnet/minecraft/class_1158;)V
ARG 1 quarternion
METHOD method_23852 rotate (Lnet/minecraft/class_1158;)V
ARG 1 rotation
METHOD method_23853 getW ()F
METHOD method_4953 getX ()F
METHOD method_4954 multiplyComponentwise (Lnet/minecraft/class_1160;)V

View File

@ -1,5 +1,8 @@
CLASS net/minecraft/class_1158 net/minecraft/util/math/Quaternion
FIELD field_21493 IDENTITY Lnet/minecraft/class_1158;
FIELD field_21582 b F
FIELD field_21583 c F
FIELD field_21584 d F
FIELD field_21585 a F
METHOD <init> (FFFF)V
ARG 1 b