/** * @author Richard Davey * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * Returns the nearest power of 2 to the given `value`. * * @function Phaser.Math.Pow2.GetPowerOfTwo * @since 3.0.0 * * @param {number} value - The value. * * @return {integer} The nearest power of 2 to `value`. */ declare var GetPowerOfTwo: any;