mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
fix wrong function name of TS def (the correct names are in index.js
)
This commit is contained in:
parent
8d259cd6c2
commit
6c880c7976
3 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue