diff --git a/docs/api/math/Vector2.html b/docs/api/math/Vector2.html
index 34651dc5feeb804aa1636ad810b06ab2c133284c..d7bf786f2c70db9e99186184de0f4024a7d8ec5d 100644
--- a/docs/api/math/Vector2.html
+++ b/docs/api/math/Vector2.html
@@ -209,7 +209,7 @@
Computes the [link:https://en.wikipedia.org/wiki/Euclidean_distance Euclidean length]
(straight-line length) from (0, 0) to (x, y).
- [method:Float lengthManhattan]()
+ [method:Float manhattanLength]()
Computes the [link:http://en.wikipedia.org/wiki/Taxicab_geometry Manhattan length] of this vector.
diff --git a/docs/api/math/Vector3.html b/docs/api/math/Vector3.html
index add11dff96d84aaeefacd7e9fe0e574a5e428bf3..e66f9d5d3632fa04b3d7d46c87172f38647b3a0b 100644
--- a/docs/api/math/Vector3.html
+++ b/docs/api/math/Vector3.html
@@ -241,7 +241,7 @@ var d = a.distanceTo( b );
Computes the [link:https://en.wikipedia.org/wiki/Euclidean_distance Euclidean length]
(straight-line length) from (0, 0, 0) to (x, y, z).
- [method:Float lengthManhattan]()
+ [method:Float manhattanLength]()
Computes the [link:http://en.wikipedia.org/wiki/Taxicab_geometry Manhattan length] of this vector.
diff --git a/docs/api/math/Vector4.html b/docs/api/math/Vector4.html
index 1fff7558ffdbe6bc450f59a92067f6bf6e126dcc..7d23772461bf34ae58c8d4e0e3b60c6ea9bf0e29 100644
--- a/docs/api/math/Vector4.html
+++ b/docs/api/math/Vector4.html
@@ -188,7 +188,7 @@ var d = a.dot( b );
Computes the [link:https://en.wikipedia.org/wiki/Euclidean_distance Euclidean length]
(straight-line length) from (0, 0, 0, 0) to (x, y, z, w).
- [method:Float lengthManhattan]()
+ [method:Float manhattanLength]()
Computes the [link:http://en.wikipedia.org/wiki/Taxicab_geometry Manhattan length] of this vector.
diff --git a/src/Three.Legacy.js b/src/Three.Legacy.js
index e9c189803986b51f57b91a6070bd36ace8e8952b..d71881e130ea5c85192d25d533e2df544d5dc32b 100644
--- a/src/Three.Legacy.js
+++ b/src/Three.Legacy.js
@@ -666,6 +666,12 @@ Object.assign( Vector2.prototype, {
console.warn( 'THREE.Vector2: .distanceToManhattan() has been renamed to .manhattanDistanceTo().' );
return this.manhattanDistanceTo( v );
+ },
+ lengthManhattan: function () {
+
+ console.warn( 'THREE.Vector2: .lengthManhattan() has been renamed to .manhattanLength().' );
+ return this.manhattanLength();
+
}
} );
@@ -717,6 +723,12 @@ Object.assign( Vector3.prototype, {
console.warn( 'THREE.Vector3: .distanceToManhattan() has been renamed to .manhattanDistanceTo().' );
return this.manhattanDistanceTo( v );
+ },
+ lengthManhattan: function () {
+
+ console.warn( 'THREE.Vector3: .lengthManhattan() has been renamed to .manhattanLength().' );
+ return this.manhattanLength();
+
}
} );
@@ -728,6 +740,12 @@ Object.assign( Vector4.prototype, {
console.warn( 'THREE.Vector4: .fromAttribute() has been renamed to .fromBufferAttribute().' );
return this.fromBufferAttribute( attribute, index, offset );
+ },
+ lengthManhattan: function () {
+
+ console.warn( 'THREE.Vector4: .lengthManhattan() has been renamed to .manhattanLength().' );
+ return this.manhattanLength();
+
}
} );
diff --git a/src/math/Vector2.js b/src/math/Vector2.js
index ae2987784e67d8391b04e4a5f61a4a6e41e4b889..90261009277012921b2c9f3b222446ef2758f6e7 100644
--- a/src/math/Vector2.js
+++ b/src/math/Vector2.js
@@ -365,7 +365,7 @@ Object.assign( Vector2.prototype, {
},
- lengthManhattan: function () {
+ manhattanLength: function () {
return Math.abs( this.x ) + Math.abs( this.y );
diff --git a/src/math/Vector3.js b/src/math/Vector3.js
index 552d343818a979ea6cc8cfb0f73f3ed7c3102e89..7064aa00cfc70ec668a7df6a68e29a6acb08c95f 100644
--- a/src/math/Vector3.js
+++ b/src/math/Vector3.js
@@ -496,7 +496,7 @@ Object.assign( Vector3.prototype, {
},
- lengthManhattan: function () {
+ manhattanLength: function () {
return Math.abs( this.x ) + Math.abs( this.y ) + Math.abs( this.z );
diff --git a/src/math/Vector4.js b/src/math/Vector4.js
index 9d4de32ac162eab085c5113ae0f92a5125a4046c..7b148aed437feab6f5ab35ce28ae02811b34a98e 100644
--- a/src/math/Vector4.js
+++ b/src/math/Vector4.js
@@ -538,7 +538,7 @@ Object.assign( Vector4.prototype, {
},
- lengthManhattan: function () {
+ manhattanLength: function () {
return Math.abs( this.x ) + Math.abs( this.y ) + Math.abs( this.z ) + Math.abs( this.w );
diff --git a/src/objects/SkinnedMesh.js b/src/objects/SkinnedMesh.js
index 7e18c5b3c7d48eb41844f0cae7341260d50dd3fb..cb1af1dc89b7e0382d3a8e69a492485f011d688a 100644
--- a/src/objects/SkinnedMesh.js
+++ b/src/objects/SkinnedMesh.js
@@ -130,7 +130,7 @@ SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
var sw = this.geometry.skinWeights[ i ];
- scale = 1.0 / sw.lengthManhattan();
+ scale = 1.0 / sw.manhattanLength();
if ( scale !== Infinity ) {
@@ -157,7 +157,7 @@ SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
vec.z = skinWeight.getZ( i );
vec.w = skinWeight.getW( i );
- scale = 1.0 / vec.lengthManhattan();
+ scale = 1.0 / vec.manhattanLength();
if ( scale !== Infinity ) {