From cd662249f5fc7f72ec65971b3d0dc9189e634536 Mon Sep 17 00:00:00 2001 From: Chaosus Date: Mon, 8 Apr 2019 11:24:30 +0300 Subject: [PATCH] Fix smooth_step to smoothstep docs (cherry picked from commit d725e4e6c0efb0db27911aa1d48c5baf81028ab3) --- doc/classes/@GDScript.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index 22bf784a17f..0a935b8c730 100644 --- a/doc/classes/@GDScript.xml +++ b/doc/classes/@GDScript.xml @@ -985,9 +985,9 @@ 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]