Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Izocel committed Jan 3, 2025
1 parent 98ff287 commit 2f19f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/Modules/RootModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class RootModule : public Module
player.screenEye = EYES;
player.screenFeet = FEET;

const float height = player.height * 1.1777f;
const float height = abs(EYES.y - FEET.y) * 1.1777f;
const float width = height * 0.777f;

player.screenBox = Box{FEET, Dimension{width, height}};
Expand Down

0 comments on commit 2f19f54

Please sign in to comment.