Description
This obviously shouldn the the case as it makes a round trip not be identity and accumulates error.
|
final Vector3f euler = this.rotation.getEulerAnglesYXZ(new Vector3f()); |
|
this.yRot = -180.0f - (float) Math.toDegrees(euler.y); |
|
this.xRot = (float) -Math.toDegrees(euler.x); |
Game Log
no log sorry
Description
This obviously shouldn the the case as it makes a round trip not be identity and accumulates error.
sable/neoforge/src/main/java/dev/ryanhcode/sable/neoforge/mixin/camera_rotation/CameraMixin.java
Lines 100 to 102 in 6f2b321
Game Log
no log sorry