diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2019-04-08 11:26:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 11:26:35 +0300 |
commit | 136fec72d408dc5471dd8f65b63b4287c39ae5d9 (patch) | |
tree | 60bd8ddfb116416f56f3201222cfbe33a8b78a8e | |
parent | 4c10b1da7daa878f893111633222a46d9009cb3e (diff) | |
parent | d725e4e6c0efb0db27911aa1d48c5baf81028ab3 (diff) |
Merge pull request #27802 from Chaosus/fix_smoothstep_docs
Fix smooth_step to smoothstep in docs
-rw-r--r-- | doc/classes/@GDScript.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index 17ca11490a..e3eca57f2d 100644 --- a/doc/classes/@GDScript.xml +++ b/doc/classes/@GDScript.xml @@ -987,9 +987,9 @@ <description> Returns a number smoothly interpolated between the [code]from[/code] and [code]to[/code], based on the [code]weight[/code]. Similar to [method lerp], but interpolates faster at the beginning and slower at the end. [codeblock] - smooth_step(0, 2, 0.5) # returns 0.15 - smooth_step(0, 2, 1.0) # returns 0.5 - smooth_step(0, 2, 2.0) # returns 1.0 + smoothstep(0, 2, 0.5) # returns 0.15 + smoothstep(0, 2, 1.0) # returns 0.5 + smoothstep(0, 2, 2.0) # returns 1.0 [/codeblock] </description> </method> |