Skip to content

Commit

Permalink
use rh coordinates for vec rotate_around_y
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Jun 24, 2024
1 parent 4ff6711 commit 59a8350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 59a8350

Please sign in to comment.