Skip to content

Commit d20318a

Browse files
committed
Merge pull request phaserjs#1954 from bixi/temp
Fix mismatched typescript member function signature of Phaser.Point.rotate.
2 parents 1393c8a + f68f25a commit d20318a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

typescript/phaser.comments.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19660,7 +19660,7 @@ declare module Phaser {
1966019660
* @param distance An optional distance constraint between the Point and the anchor.
1966119661
* @return The modified point object.
1966219662
*/
19663-
rotate(a: Phaser.Point, x: number, y: number, angle: number, asDegrees?: boolean, distance?: number): Phaser.Point;
19663+
rotate(x: number, y: number, angle: number, asDegrees?: boolean, distance?: number): Phaser.Point;
1966419664

1966519665
/**
1966619666
* Sets the `x` and `y` values of this Point object to the given values.

typescript/phaser.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3616,7 +3616,7 @@ declare module Phaser {
36163616
normalRightHand(): Phaser.Point;
36173617
perp(): Phaser.Point;
36183618
rperp(): Phaser.Point;
3619-
rotate(a: Phaser.Point, x: number, y: number, angle: number, asDegrees?: boolean, distance?: number): Phaser.Point;
3619+
rotate(x: number, y: number, angle: number, asDegrees?: boolean, distance?: number): Phaser.Point;
36203620
set(x: number, y?: number): Phaser.Point;
36213621
setMagnitude(magnitude: number): Phaser.Point;
36223622
setTo(x: number, y?: number): Phaser.Point;

0 commit comments

Comments
 (0)