Skip to content

Commit

Permalink
Update Vector3.html
Browse files Browse the repository at this point in the history
Updated the description of .clampLength() so it explains what happens to the Vector3.
  • Loading branch information
j13ag0 committed Jan 26, 2021
1 parent 16eb3ec commit 192b4dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/api/en/math/Vector3.html
Expand Up @@ -138,9 +138,8 @@ <h3>[method:this clampLength]( [param:Float min], [param:Float max] )</h3>
[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 />

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>
<p>
Expand Down

0 comments on commit 192b4dd

Please sign in to comment.