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 Ported: Allow unicode identifier in GDScript syntax highlighter 2023-02-21 13:32:12 +01:00
icons
config.py
gdscript_compiler.cpp Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
gdscript_compiler.h Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
gdscript_editor.cpp Suggest class_name in 3.x autocompletion. 2023-05-01 12:30:43 +02:00
gdscript_function.cpp Fix local variables not showing when breaking on final line 2023-01-16 14:03:22 +01:00
gdscript_function.h Removed additional direct script rpc mode query when sending rpcs, in order to simplify that codepath as much as possible. Also removed the remote, remotesync etc. keywords from gdscript, as now they won't work anymore. Node's rpc_config() method should be used instead of marking methods with keywords in scripts. 2022-08-19 01:19:33 +02:00
gdscript_functions.cpp Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
gdscript_functions.h Moved Variant related classes under a variant folder in core. 2022-08-17 13:17:12 +02:00
gdscript_parser.cpp Backported from godot4: Rework Navigation Avoidance 2023-06-10 20:58:49 +02:00
gdscript_parser.h Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
gdscript_tokenizer.cpp Ported: Use hash table for GDScript parsing 2023-03-18 09:44:01 +01:00
gdscript_tokenizer.h Ported: Use hash table for GDScript parsing 2023-03-18 09:44:01 +01:00
gdscript.cpp Ported: Use hash table for GDScript parsing 2023-03-18 09:44:01 +01:00
gdscript.h Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
register_types.cpp Ported: Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter 2023-02-21 01:30:59 +01:00
register_types.h Added module initialization levels (similar idea to what's in godot4, although I added more). 2023-01-15 11:46:13 +01:00
SCsub