From 9b7a67c80e82e2893c3a44dd9c781239af1b92ec Mon Sep 17 00:00:00 2001 From: IsseW Date: Fri, 12 Aug 2022 11:12:19 +0200 Subject: [PATCH] fix viewpoint rotation --- voxygen/src/scene/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxygen/src/scene/mod.rs b/voxygen/src/scene/mod.rs index ecfe524e3e..4dfb0efd9d 100644 --- a/voxygen/src/scene/mod.rs +++ b/voxygen/src/scene/mod.rs @@ -562,7 +562,7 @@ impl Scene { let yaw = siny_cosp.atan2(cosy_cosp); self.camera - .set_orientation_instant(Vec3::new(yaw, pitch, -roll)); + .set_orientation_instant(Vec3::new(-yaw, pitch, roll)); } // Alter camera position to match player.