Files
WoWee/include/rendering/camera_controller.hpp
Kelsi 4ba6b51b2e feat(camera): ray-march the terrain heightfield so hills can't clip through the orbit camera
Terrain was only a floor clamp at the camera's final XY; a hill between the
pivot and the camera sliced straight through the view. March the heightfield
along the pivot ray (coarse steps + bisection) and feed the limit through the
same asymmetric pull-in/recover smoothing as the WMO raycast, snapping 1:1
while actively rotating.
2026-07-12 16:02:47 -07:00

22 KiB