Skip to content
Snippets Groups Projects

Use double precision in R_StoreWallRange sloped seg culling calculations (Fixes #434)

Merged Hannu Hanhi requested to merge Hannu_Hanhi/SRB2:sw-culling-inaccuracy into next

Fixes culling issues in CEZ2 skybox. See discussion in #434 (closed) for more information.

I think the map itself is already getting a separate fix for it but this MR should fix the underlying issue in the renderer, if it needs to be fixed.

I also changed the "TODO: convert to FPU" comments to say "fixed point" instead of "FPU". Apparently that was the intention of the comments, so I changed it in order to avoid readers being confused. https://en.wikipedia.org/wiki/Floating-point_unit

srb2win_sw-culling-inaccuracy.exe

Edit: Added build of the fix.

Edited by Hannu Hanhi

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading