Browse Source

Merge pull request #20337 from ycw/patch-1

TS: purify Vector2.d.ts
Mr.doob 4 years ago
parent
commit
7960071532
1 changed files with 0 additions and 20 deletions
  1. 0 20
      src/math/Vector2.d.ts

+ 0 - 20
src/math/Vector2.d.ts

@@ -450,26 +450,6 @@ export class Vector2 implements Vector {
 	 */
 	rotateAround( center: Vector2, angle: number ): this;
 
-	/**
-	 * Computes the Manhattan length of this vector.
-	 *
-	 * @return {number}
-	 *
-	 * @see {@link http://en.wikipedia.org/wiki/Taxicab_geometry|Wikipedia: Taxicab Geometry}
-	 */
-	manhattanLength(): number;
-
-	/**
-	 * Computes the Manhattan length (distance) from this vector to the given vector v
-	 *
-	 * @param {Vector2} v
-	 *
-	 * @return {number}
-	 *
-	 * @see {@link http://en.wikipedia.org/wiki/Taxicab_geometry|Wikipedia: Taxicab Geometry}
-	 */
-	manhattanDistanceTo( v: Vector2 ): number;
-
 	/**
 	 * Sets this vector's x and y from Math.random
 	 */