fix wrong function name of TS def (the correct names are in index.js)

This commit is contained in:
J.C 2019-10-23 17:47:19 +08:00
parent 8d259cd6c2
commit 6c880c7976
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
/**
* Returns the nearest power of 2 to the given `value`.
*
* @function Phaser.Math.Pow2.GetPowerOfTwo
* @function Phaser.Math.Pow2.GetNext
* @since 3.0.0
*
* @param {number} value - The value.

View file

@ -8,7 +8,7 @@
* Checks if the given `width` and `height` are a power of two.
* Useful for checking texture dimensions.
*
* @function Phaser.Math.Pow2.IsSizePowerOfTwo
* @function Phaser.Math.Pow2.IsSize
* @since 3.0.0
*
* @param {number} width - The width.

View file

@ -7,7 +7,7 @@
/**
* Tests the value and returns `true` if it is a power of two.
*
* @function Phaser.Math.Pow2.IsValuePowerOfTwo
* @function Phaser.Math.Pow2.IsValue
* @since 3.0.0
*
* @param {number} value - The value to check if it's a power of two.