From ea7347a025ed5add69872a435b7cafa4ffdf3067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?der=5Ffr=C3=BChling?= Date: Sun, 19 May 2024 16:13:56 -0700 Subject: [PATCH] this fixes #39 but idk if i'm happy about it --- .../minecraft/create/trainperspective/mixin/CameraMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/net/derfruhling/minecraft/create/trainperspective/mixin/CameraMixin.java b/common/src/main/java/net/derfruhling/minecraft/create/trainperspective/mixin/CameraMixin.java index e850164..5809c13 100644 --- a/common/src/main/java/net/derfruhling/minecraft/create/trainperspective/mixin/CameraMixin.java +++ b/common/src/main/java/net/derfruhling/minecraft/create/trainperspective/mixin/CameraMixin.java @@ -38,7 +38,7 @@ private float modifyRoll(float original) { @Inject(method = "setRotation", at = @At(value = "INVOKE", target = "Lorg/joml/Quaternionf;rotationYXZ(FFF)Lorg/joml/Quaternionf;", shift = At.Shift.AFTER)) private void modifyQuaternion(float f, float g, CallbackInfo ci) { - this.rotation.rotateY(ctp$extraYRot); + //this.rotation.rotateY(ctp$extraYRot * Mth.DEG_TO_RAD); } @Unique