|
@@ -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>
|