Run godot's formatting script.

This commit is contained in:
Relintai 2022-03-16 09:02:48 +01:00
parent 00cc289004
commit e85cef1745
122 changed files with 220 additions and 220 deletions

View File

@ -500,7 +500,7 @@ static float square(float f) {
/** Return the next power of two.
* @see http://graphics.stanford.edu/~seander/bithacks.html
* @warning Behaviour for 0 is undefined.
* @note isPowerOfTwo(x) == true -> nextPowerOfTwo(x) == x
* @note isPowerOfTwo(x) -> nextPowerOfTwo(x) == x
* @note nextPowerOfTwo(x) = 2 << log2(x-1)
*/
static uint32_t nextPowerOfTwo(uint32_t x) {