UNPKG

arcade-physics

Version:
18 lines 523 B
export default GetPowerOfTwo; /** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Returns the nearest power of 2 to the given `value`. * * @function Phaser.Math.Pow2.GetNext * @since 3.0.0 * * @param {number} value - The value. * * @return {number} The nearest power of 2 to `value`. */ declare function GetPowerOfTwo(value: number): number; //# sourceMappingURL=GetPowerOfTwo.d.ts.map