Files
godot/core/math
lawnjelly 50c5ed4876 Make acos and asin safe
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.

The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.
2023-05-11 08:34:34 +01:00
..
2023-01-05 13:25:55 +01:00
2023-01-05 13:25:55 +01:00
2023-05-11 08:34:34 +01:00
2023-01-19 13:02:18 +01:00
2022-02-04 16:51:21 +00:00
2022-02-04 16:51:21 +00:00
2022-02-04 16:51:21 +00:00
2022-07-25 18:21:53 +02:00
2023-05-09 17:43:10 +02:00
2023-05-09 17:43:10 +02:00
2023-02-01 08:45:41 +01:00
2023-01-19 13:02:18 +01:00
2023-01-19 13:02:18 +01:00
2023-01-19 13:02:18 +01:00
2023-01-19 13:02:18 +01:00
2023-01-19 13:02:18 +01:00
2023-05-11 08:34:34 +01:00
2023-05-11 08:34:34 +01:00
2023-02-28 13:38:01 +01:00
2023-02-28 13:38:01 +01:00
2023-01-19 13:02:18 +01:00