浏览代码

lengthManhatten

Sergey Romanov 10 年之前
父节点
当前提交
c0a36b2ff2
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/api/math/Vector2.html

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

@@ -103,6 +103,12 @@
 		Computes length of this vector.
 		Computes length of this vector.
 		</div>
 		</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>
 		<h3>[method:Vector2 normalize]() [page:Vector2 this]</h3>
 		<div>
 		<div>
 		Normalizes this vector.
 		Normalizes this vector.