godot/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
..
config Exposing more project settings for documentation 2023-03-30 19:26:05 +02:00
crypto [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
debugger Cleanup unused engine code v2 2023-01-19 13:02:18 +01:00
error Fix incorrect index error macros 2023-01-22 12:23:56 +01:00
extension Fix crash when dumping extension API in a non-writable directory 2023-03-13 14:11:24 +01:00
input Follow up to https://github.com/godotengine/godot/pull/76399 to fix input ANR in the Godot Android editor 2023-05-12 12:12:05 +02:00
io Support long path in file access on windows 2023-05-12 12:31:22 +02:00
math Make acos and asin safe 2023-05-12 12:31:23 +02:00
object Remove unused `ScriptLanguage` methods 2023-02-26 22:30:56 -08:00
os Fix data races in startup/teardown 2023-03-27 16:43:47 +02:00
string Improve layout direction/locale automatic selection. 2023-03-27 16:36:53 +02:00
templates Make `LocalVector` respect its `tight` template parameter 2023-05-12 12:11:41 +02:00
variant Fix lerp error message 2023-04-26 14:29:27 +02:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
core_bind.cpp Add Engine::unregister_script_language and make Engine::register_script_language returns a Error 2023-02-10 19:50:24 +01:00
core_bind.h Add Engine::unregister_script_language and make Engine::register_script_language returns a Error 2023-02-10 19:50:24 +01:00
core_builders.py ci: add Python static analysis check via mypy 2022-09-30 19:03:17 +07:00
core_constants.cpp Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
core_constants.h Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
core_globals.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_globals.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
doc_data.cpp GDScript: Fix issues with typed arrays 2023-01-31 11:54:41 +02:00
doc_data.h GDScript: Fix issues with typed arrays 2023-01-31 11:54:41 +02:00
register_core_types.cpp [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
register_core_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
typedefs.h Fix several clang-tidy bool literal conversion warnings 2023-03-27 17:03:22 +02:00
version.h Fix Windows StringFileInfo structure 2023-04-24 16:52:24 +02:00