Skip to content
Snippets Groups Projects

Replace P_AproxDistance with FixedHypot, and replace FixedHypot's algorithm with R_PointToDist2's

Merged James R. requested to merge redundant-hypot into next

Port of KartKrew/Kart-Public!243 (merged) that also replaces every instance of P_AproxDistance in the code, instead of turning it into a macro for FixedHypot. When P_AproxDistance is used in Lua, generates a deprecated warning to use FixedHypot instead!

Inspired by the work seen in !1232 (merged) and !1309 (merged).

Edited by James R.

Merge request reports

Checking pipeline status.

Merged by LJ SonicLJ Sonic 4 years ago (Jan 25, 2021 11:08pm UTC)

Loading

Activity

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