Files
fs2open.github.com/code
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
..
2023-10-31 13:09:03 -04:00
2024-07-06 12:51:31 +02:00
2023-10-20 15:32:46 -04:00
2024-07-06 12:51:31 +02:00
2024-07-06 12:51:31 +02:00
2024-07-06 12:51:31 +02:00
2023-10-24 20:33:45 -04:00
2024-01-29 22:07:37 -05:00
2024-07-06 12:51:31 +02:00
2024-07-15 20:55:57 -04:00
2024-03-25 20:13:16 -04:00
2024-07-01 16:01:31 -04:00
2023-04-26 19:36:16 -04:00
2024-07-04 18:08:27 -04:00
2023-02-19 14:58:17 -06:00
2024-03-25 13:33:21 -04:00
2024-07-15 20:55:57 -04:00
2024-07-04 18:08:27 -04:00
2024-06-21 14:16:43 -05:00
2024-07-06 12:51:31 +02:00
2019-11-03 16:27:23 -05:00
2024-07-01 16:01:31 -04:00
2024-07-15 20:55:57 -04:00
2024-07-13 09:29:48 -04:00
2024-07-05 01:14:36 -04:00
2024-07-06 12:51:31 +02:00
2023-11-08 20:08:37 -05:00