Skip to content

Commit 1250397

Browse files
authored
Update MathUtils.html (#26728)
Fix `smootherstep.max` description error
1 parent 14679e4 commit 1250397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/zh/math/MathUtils.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h3>[method:Float smootherstep]( [param:Float x], [param:Float min], [param:Floa
123123
<p>
124124
[page:Float x] - 根据其在最小值和最大值之间的位置来计算的值。 <br />
125125
[page:Float min] - 任何x比最小值还小会返回0.<br />
126-
[page:Float max] - 任何x比最大值还大会返回0.<br /><br />
126+
[page:Float max] - 任何x比最大值还大会返回1.<br /><br />
127127

128128
返回一个0-1之间的值。它和smoothstep相同,但变动更平缓。[link:https://en.wikipedia.org/wiki/Smoothstep#Variations variation on smoothstep] 在x=0和x=1处有0阶和二阶导数。
129129
</p>

0 commit comments

Comments
 (0)