|
@@ -206,6 +206,16 @@
|
|
|
If this vector's x, y or z values are less than the min value, they are replaced by the min value.
|
|
|
</div>
|
|
|
|
|
|
+ <h3>[method:Vector3 clampLength]([page:Float min], [page:Float max]) [page:Vector3 this]</h3>
|
|
|
+ <div>
|
|
|
+ min -- [page:Float] the minimum value the length will be clamped to <br />
|
|
|
+ max -- [page:Float] the maximum value the length will be clamped to
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ 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.
|
|
|
+ </div>
|
|
|
+
|
|
|
<h3>[method:Vector3 floor]()</h3>
|
|
|
<div>
|
|
|
The components of the vector are rounded downwards (towards negative infinity) to an integer value.
|