pandemonium_engine/modules/gdscript
lawnjelly 22d90711da 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-06-11 08:41:42 +02:00
..
doc_classes Make acos and asin safe 2023-06-11 08:41:42 +02:00
editor
icons
config.py
gdscript_compiler.cpp
gdscript_compiler.h
gdscript_editor.cpp
gdscript_function.cpp
gdscript_function.h
gdscript_functions.cpp
gdscript_functions.h
gdscript_parser.cpp
gdscript_parser.h
gdscript_tokenizer.cpp
gdscript_tokenizer.h
gdscript.cpp
gdscript.h
register_types.cpp
register_types.h
SCsub