Skip to content

Commit 6c880c7

Browse files
committed
fix wrong function name of TS def (the correct names are in index.js)
1 parent 8d259cd commit 6c880c7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/math/pow2/GetPowerOfTwo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Returns the nearest power of 2 to the given `value`.
99
*
10-
* @function Phaser.Math.Pow2.GetPowerOfTwo
10+
* @function Phaser.Math.Pow2.GetNext
1111
* @since 3.0.0
1212
*
1313
* @param {number} value - The value.

src/math/pow2/IsSizePowerOfTwo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Checks if the given `width` and `height` are a power of two.
99
* Useful for checking texture dimensions.
1010
*
11-
* @function Phaser.Math.Pow2.IsSizePowerOfTwo
11+
* @function Phaser.Math.Pow2.IsSize
1212
* @since 3.0.0
1313
*
1414
* @param {number} width - The width.

src/math/pow2/IsValuePowerOfTwo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Tests the value and returns `true` if it is a power of two.
99
*
10-
* @function Phaser.Math.Pow2.IsValuePowerOfTwo
10+
* @function Phaser.Math.Pow2.IsValue
1111
* @since 3.0.0
1212
*
1313
* @param {number} value - The value to check if it's a power of two.

0 commit comments

Comments
 (0)