godot/doc
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
..
classes Make acos and asin safe 2023-05-12 12:31:23 +02:00
tools Create an "Editor-only" section in the online class reference 2023-04-26 14:47:56 +02:00
translations i18n: Sync translations with Weblate 2023-04-20 13:26:36 +02:00
Doxyfile
Makefile Safeguard Makefile commands 2023-03-13 14:29:23 +01:00
class.xsd