From 59a83503c03d4dd0c89d1bea10c816a6149a39bf Mon Sep 17 00:00:00 2001 From: Alex Foster <123afoster@gmail.com> Date: Sun, 23 Jun 2024 23:04:54 -0700 Subject: [PATCH] use rh coordinates for vec rotate_around_y --- game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/game.cpp b/game/game.cpp index fa1eb8a2..1c79010c 100644 --- a/game/game.cpp +++ b/game/game.cpp @@ -1994,7 +1994,7 @@ void recomputecamera() orient.identity(); orient.rotate_around_z(camera1->yaw/RAD); orient.rotate_around_x(camera1->pitch/RAD); - orient.rotate_around_y(camera1->roll/-RAD); + orient.rotate_around_y(camera1->roll/RAD); vec dir = vec(orient.b).neg(), side = vec(orient.a).neg(), up = orient.c; if(game::collidecamera())