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
..
2020-07-20 06:38:10 -05:00
2020-06-18 15:29:39 +02:00
2020-07-03 15:26:22 +02:00
2020-07-10 13:56:54 +01:00
2020-07-22 15:06:57 -04:00
2020-07-25 20:26:02 +02:00
2020-07-09 09:51:32 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-05-16 18:13:25 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-07-06 19:27:05 -03:00
2020-07-06 19:27:05 -03:00
2020-05-14 21:57:34 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-07-10 13:56:54 +01:00
2020-07-17 12:02:06 -04:00
2020-03-30 09:05:53 +02:00
2020-04-02 13:38:00 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 16:54:55 +02:00
2020-03-25 11:22:19 +01:00
2020-05-14 21:57:34 +02:00
2020-07-05 19:22:26 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-01-01 11:16:22 +01:00
2020-07-01 10:50:13 +01:00
2020-05-14 21:57:34 +02:00
2020-07-03 12:57:23 +02:00
2020-07-10 13:56:54 +01:00
2020-03-25 11:22:19 +01:00
2020-07-01 10:17:27 +02:00
2020-06-26 11:06:48 -03:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-05-16 18:13:25 +02:00
2020-05-16 18:13:25 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-07-13 14:14:11 -04:00
2020-02-20 08:24:50 +01:00
2020-07-24 21:47:01 -04:00
2020-07-10 13:56:54 +01:00
2020-05-19 15:57:56 +02:00
2020-05-19 15:57:56 +02:00
2020-07-10 13:56:54 +01:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-07-13 14:38:35 +03:00
2020-07-06 12:35:51 -03:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-06-18 15:26:24 +02:00
2020-03-25 11:22:19 +01:00
2020-06-08 16:48:21 +02:00
2020-07-10 13:56:54 +01:00
2020-02-11 14:08:44 +01:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-19 11:24:58 +02:00
2020-05-14 21:57:34 +02:00
2020-07-11 15:19:02 +01:00
2020-07-20 11:38:40 -03:00
2020-05-16 16:10:50 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 10:01:56 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-07-24 13:05:33 +01:00
2020-05-14 16:54:55 +02:00
2020-05-14 16:54:55 +02:00
2020-05-19 15:57:56 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-14 21:57:34 +02:00
2020-05-14 16:54:55 +02:00
2020-05-25 21:55:03 +02:00
2020-05-14 16:54:55 +02:00
2020-07-03 15:26:22 +02:00
2020-07-03 15:26:22 +02:00
2020-07-21 14:44:53 -04:00
2020-06-26 11:06:48 -03:00
2020-06-08 11:38:13 +02:00
2020-05-14 16:54:55 +02:00
2020-06-03 00:03:34 -04:00
2020-05-19 15:57:56 +02:00
2020-07-06 22:16:39 -04:00
2020-03-25 11:22:19 +01:00
2020-05-14 21:57:34 +02:00
2020-05-14 21:57:34 +02:00