|
@@ -130,17 +130,17 @@
|
|
|
|
|
|
<h3>[method:Float lengthSq]() [page:Vector3 this]</h3>
|
|
|
<div>
|
|
|
- Computes squared length of this vector.
|
|
|
+ Computes the squared length of this vector.
|
|
|
</div>
|
|
|
|
|
|
<h3>[method:Float length]() [page:Vector3 this]</h3>
|
|
|
<div>
|
|
|
- Computes length of this vector.
|
|
|
+ Computes the length of this vector.
|
|
|
</div>
|
|
|
|
|
|
<h3>[method:Float lengthManhattan]() [page:Vector3 this]</h3>
|
|
|
<div>
|
|
|
- Computes Manhattan length of this vector.<br />
|
|
|
+ Computes the Manhattan length of this vector.<br />
|
|
|
[link:http://en.wikipedia.org/wiki/Taxicab_geometry]
|
|
|
</div>
|
|
|
|
|
@@ -149,14 +149,19 @@
|
|
|
Normalizes this vector. Transforms this Vector into a Unit vector by dividing the vector by its length.
|
|
|
</div>
|
|
|
|
|
|
- <h3>[method:Float distanceTo]( [page:Vector3 v] ) [page:Vector3 this]</h3>
|
|
|
+ <h3>[method:Float distanceTo]( [page:Vector3 v] )</h3>
|
|
|
<div>
|
|
|
- Computes distance of this vector to *v*.
|
|
|
+ Computes the distance from this vector to *v*.
|
|
|
</div>
|
|
|
|
|
|
- <h3>[method:Float distanceToSquared]( [page:Vector3 v] ) [page:Vector3 this]</h3>
|
|
|
+ <h3>[method:Float distanceToSquared]( [page:Vector3 v] )</h3>
|
|
|
<div>
|
|
|
- Computes squared distance of this vector to *v*.
|
|
|
+ Computes the squared distance from this vector to *v*.
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>[method:Float distanceToManhattan]( [page:Vector3 v] )</h3>
|
|
|
+ <div>
|
|
|
+ Computes the Manhattan distance from this vector to *v*.
|
|
|
</div>
|
|
|
|
|
|
<h3>[method:Vector3 setLength]( [page:Float l] ) [page:Vector3 this]</h3>
|