Sergey Romanov 10 年之前
父節點
當前提交
dfb30c324a
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/api/math/Vector2.html
  2. 1 1
      src/math/Vector2.js

+ 1 - 1
docs/api/math/Vector2.html

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

+ 1 - 1
src/math/Vector2.js

@@ -337,7 +337,7 @@ THREE.Vector2.prototype = {
 
 
 	},
 	},
 
 
-	lengthManhatten: function() {
+	lengthManhattan: function() {
 
 
 		return Math.abs( this.x ) + Math.abs( this.y );
 		return Math.abs( this.x ) + Math.abs( this.y );
 	},
 	},