Skip to content

Commit 7960071

Browse files
authored
Merge pull request #20337 from ycw/patch-1
TS: purify Vector2.d.ts
2 parents 119c775 + 071d34d commit 7960071

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/math/Vector2.d.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -450,26 +450,6 @@ export class Vector2 implements Vector {
450450
*/
451451
rotateAround( center: Vector2, angle: number ): this;
452452

453-
/**
454-
* Computes the Manhattan length of this vector.
455-
*
456-
* @return {number}
457-
*
458-
* @see {@link http://en.wikipedia.org/wiki/Taxicab_geometry|Wikipedia: Taxicab Geometry}
459-
*/
460-
manhattanLength(): number;
461-
462-
/**
463-
* Computes the Manhattan length (distance) from this vector to the given vector v
464-
*
465-
* @param {Vector2} v
466-
*
467-
* @return {number}
468-
*
469-
* @see {@link http://en.wikipedia.org/wiki/Taxicab_geometry|Wikipedia: Taxicab Geometry}
470-
*/
471-
manhattanDistanceTo( v: Vector2 ): number;
472-
473453
/**
474454
* Sets this vector's x and y from Math.random
475455
*/

0 commit comments

Comments
 (0)