virtualx-engine/modules/gdscript
lawnjelly 6f8e632848 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-05-11 09:51:44 +01:00
..
doc_classes Make acos and asin safe 2023-05-11 09:51:44 +01:00
editor One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
icons
language_server One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
config.py
gdscript.cpp Use hash table for GDScript parsing 2023-03-12 14:55:31 +00:00
gdscript.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gdscript_compiler.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gdscript_compiler.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gdscript_editor.cpp Suggest class_name in 3.x autocompletion. 2023-04-22 16:29:14 +02:00
gdscript_function.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gdscript_function.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gdscript_functions.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gdscript_functions.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gdscript_parser.cpp GDScriptParser - don't use index operator on linked list 2023-03-11 17:05:12 +00:00
gdscript_parser.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gdscript_tokenizer.cpp Use hash table for GDScript parsing 2023-03-12 14:55:31 +00:00
gdscript_tokenizer.h Use hash table for GDScript parsing 2023-03-12 14:55:31 +00:00
register_types.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
register_types.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
SCsub