Meriipu
347a9df0a1
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.
(cherry picked from commit 7f9bfee0ac4707f2586bd25c04c3883c9eb1be9e)
2021-02-11 13:12:06 +01:00
..
2021-01-26 22:10:30 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-02-11 13:12:06 +01:00
2021-02-07 16:41:23 +00:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2020-01-26 12:08:16 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2020-08-14 00:32:05 +02:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-02-07 16:41:23 +00:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2020-06-10 15:30:52 +02:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:55:27 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-02-11 01:08:49 +01:00
2021-02-11 01:08:49 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-15 16:49:46 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2020-12-12 10:10:23 +00:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-02-11 13:12:06 +01:00
2021-01-13 16:17:06 +01:00
2021-02-09 05:09:51 -05:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00
2021-01-13 16:17:06 +01:00