Files
godot/doc/classes
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-05-12 12:31:23 +02:00
2023-01-31 19:04:07 +01:00
2023-02-24 10:42:44 +08:00
2023-04-03 18:40:24 +02:00
2023-05-12 12:07:02 +02:00
2023-02-20 14:47:37 +08:00
2023-04-03 18:40:24 +02:00
2022-11-22 17:59:45 +01:00
2023-04-24 16:52:25 +02:00
2023-04-03 18:40:24 +02:00
2023-04-03 18:40:24 +02:00
2023-04-03 18:40:24 +02:00
2023-04-03 18:40:24 +02:00
2023-04-03 18:40:24 +02:00
2023-03-27 18:06:47 +02:00
2023-01-14 14:41:51 +01:00
2023-01-08 18:47:48 +01:00
2022-11-22 17:59:45 +01:00
2023-02-20 14:47:37 +08:00
2023-02-24 10:42:44 +08:00
2023-02-24 10:42:44 +08:00
2023-01-31 19:04:07 +01:00
2022-10-31 15:19:48 +08:00
2023-02-20 14:47:37 +08:00
2022-11-12 13:49:12 +02:00
2022-11-12 13:49:12 +02:00
2023-02-20 23:26:02 +01:00
2023-02-01 03:03:55 +01:00
2022-12-15 12:24:08 +01:00
2023-04-03 18:40:24 +02:00
2022-11-20 19:25:13 +01:00
2023-01-08 18:47:48 +01:00
2022-11-20 19:25:13 +01:00
2022-11-04 13:32:52 +01:00
2023-01-21 12:56:28 +01:00
2023-01-17 21:34:10 +01:00
2023-01-31 19:04:07 +01:00
2022-11-22 17:59:45 +01:00
2023-05-12 12:07:02 +02:00
2023-03-13 14:27:06 +01:00
2023-03-13 14:41:26 +01:00
2023-01-31 18:54:04 +01:00
2023-03-13 14:34:08 +01:00
2023-04-03 18:41:05 +02:00
2023-05-12 12:07:02 +02:00