Explorar el Código

Update MathUtils.html (#26728)

Fix `smootherstep.max` description error
后悔编程哥 hace 1 año
padre
commit
1250397f18
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/api/zh/math/MathUtils.html

+ 1 - 1
docs/api/zh/math/MathUtils.html

@@ -123,7 +123,7 @@
 		<p>
 			[page:Float x] - 根据其在最小值和最大值之间的位置来计算的值。 <br />
 			[page:Float min] - 任何x比最小值还小会返回0.<br />
-			[page:Float max] - 任何x比最大值还大会返回0.<br /><br />
+			[page:Float max] - 任何x比最大值还大会返回1.<br /><br />
 
 		返回一个0-1之间的值。它和smoothstep相同,但变动更平缓。[link:https://en.wikipedia.org/wiki/Smoothstep#Variations variation on smoothstep] 在x=0和x=1处有0阶和二阶导数。
 		</p>