summaryrefslogtreecommitdiffstats
path: root/src/menu.cpp
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-04 16:03:34 +0100
committersalmonik <salmonik@tuta.io>2026-11-04 16:03:34 +0100
commit4171b26d1ce68d185f3d2611f5753f4288a92a69 (patch)
treeee271ec4b5330598830638f208eac96e8e79e12f /src/menu.cpp
parentFix overlay-vanishing projections; ammo rule via held weapons (diff)
downloadhl2h-4171b26d1ce68d185f3d2611f5753f4288a92a69.tar.gz
hl2h-4171b26d1ce68d185f3d2611f5753f4288a92a69.zip
Clip transition and radius lines at the near plane
Transition-box edges and projectile radius rings were only drawn when both endpoints projected. An edge with one corner behind the camera vanished, so a half-visible box or ring showed nothing. Add a segment projector that clips at the near plane in view space, then clips the 2D result to the screen bounds, and use it for both.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions