mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix viewpoint rotation
This commit is contained in:
parent
689376ec70
commit
9b7a67c80e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user