File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments