Files
godot/tests/core
lawnjelly efbb28d09a 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.

(cherry picked from commit 50c5ed4876)
2023-05-12 12:31:23 +02:00
..
2023-01-29 14:09:53 +01:00
2023-05-12 12:31:23 +02:00
2023-01-05 13:25:55 +01:00