Ver código fonte

lengthManhatten

Sergey Romanov 10 anos atrás
pai
commit
c0a36b2ff2
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      docs/api/math/Vector2.html

+ 6 - 0
docs/api/math/Vector2.html

@@ -103,6 +103,12 @@
 		Computes length of this vector.
 		</div>
 
+		<h3>[method:Float lengthManhatten]()</h3>
+		<div>
+		Computes Manhattan length of this vector.<br />
+		[link:http://en.wikipedia.org/wiki/Taxicab_geometry]
+		</div>
+
 		<h3>[method:Vector2 normalize]() [page:Vector2 this]</h3>
 		<div>
 		Normalizes this vector.