godot/modules/gdscript
Meriipu 7f9bfee0ac GDScript: Clarified/fixed inaccuracies in the built-in function docs.
The input to smoothstep is not actually a weight, and the decscription
of smoothstep was pretty hard to understand and easy to misinterpret.

Clarified what it means to be approximately equal.

nearest_po2 does not do what the descriptions says it does. For one,
it returns the same power if the input is a power of 2. Second, it
returns 0 if the input is negative or 0, while the smallest possible
integral power of 2 actually is 1 (2^0 = 1). Due to the implementation
and how it is used in a lot of places, it does not seem wise to change
such a core function however, and I decided it is better to alter the
description of the built-in.

Added a few examples/clarifications/edge-cases.
2020-07-25 20:26:02 +02:00
..
doc_classes GDScript: Clarified/fixed inaccuracies in the built-in function docs. 2020-07-25 20:26:02 +02:00
editor New GDScript tokenizer and parser 2020-07-20 11:38:39 -03:00
icons Fix missing module editor icons 2020-03-08 19:32:25 +02:00
language_server Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
config.py DocData: Skip unexposed classes 2020-04-20 12:51:10 +02:00
gdscript_analyzer.cpp Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_analyzer.h Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_cache.cpp Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_cache.h Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_compiler.cpp Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_compiler.h Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_editor.cpp Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_function.cpp New GDScript tokenizer and parser 2020-07-20 11:38:39 -03:00
gdscript_function.h New GDScript tokenizer and parser 2020-07-20 11:38:39 -03:00
gdscript_functions.cpp GDScript: Clarified/fixed inaccuracies in the built-in function docs. 2020-07-25 20:26:02 +02:00
gdscript_functions.h Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
gdscript_parser.cpp Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_parser.h Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_tokenizer.cpp Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_tokenizer.h Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript_warning.cpp Add warning checks in GDScript analyzer 2020-07-20 11:38:40 -03:00
gdscript_warning.h Add warning checks in GDScript analyzer 2020-07-20 11:38:40 -03:00
gdscript.cpp Wrap up GDScript 2.0 base implementation 2020-07-22 11:07:51 -03:00
gdscript.h Add warning checks in GDScript analyzer 2020-07-20 11:38:40 -03:00
register_types.cpp Reenable GDScript LSP server 2020-07-20 11:38:40 -03:00
register_types.h Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00