Files
fs2open.github.com/code/math
Goober5000 87ea04fa53 change atan2_safe to atan2
According to DahBlount:
> Most atan2 implementations for a long time had problems when the inputs were close to machine epsilon or when x was less than or equal to 0

And according to z64555:
> Modern versions of C++ should have an atan2() that works correctly when the inputs are at 0 or near epsilon of the floating point specification, meaning Volition's workaround shouldn't be needed anymore.

So this removes `atan2_safe` and changes all instances to `atan2`.  Consequently, the angle range in FRED now shows as [-180, 180] as expected.

Fixes #3730.
2024-07-15 20:55:57 -04:00
..
2024-02-07 15:29:13 -05:00
2021-06-20 12:56:20 +02:00
2024-06-03 22:19:29 -04:00
2020-09-25 21:28:25 -04:00
2020-09-25 21:28:25 -04:00
2024-07-15 20:55:57 -04:00
2024-07-15 20:55:57 -04:00