浏览代码

Update Vector3.html

Updated the description of .clampLength() so it explains what happens to the Vector3.
John Gibson 4 年之前
父节点
当前提交
192b4ddad6
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      docs/api/en/math/Vector3.html

+ 2 - 3
docs/api/en/math/Vector3.html

@@ -138,9 +138,8 @@
 		[page:Float min] - the minimum value the length will be clamped to <br />
 		[page:Float min] - the minimum value the length will be clamped to <br />
 		[page:Float max] - the maximum value the length will be clamped to<br /><br />
 		[page:Float max] - the maximum value the length will be clamped to<br /><br />
 
 
-		If this vector's length is greater than the max value, it is replaced by the max value. <br /><br />
-		If this vector's length is less than the min value, it is replaced by the min value.
-		</p>
+		If this vector's length is greater than the max value, the vector will be scaled down so its length is the max value. <br /><br />
+		If this vector's length is less than the min value, the vector will be scaled up so its length is the min value.</p>
 
 
 		<h3>[method:this clampScalar]( [param:Float min], [param:Float max] )</h3>
 		<h3>[method:this clampScalar]( [param:Float min], [param:Float max] )</h3>
 		<p>
 		<p>