Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-12-15 18:17:37 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-15 18:54:28 +0300
commit02ec0b53df0a966048500e659389dbb987847c49 (patch)
tree6fcb38809b536b5132ec01394a46502cfbbe291e /source/blender/blenlib/BLI_math_bits.h
parent2aa0f8a41bba64933db19ad4231f9392a8445cd7 (diff)
Math utils: Make it more clear what the functions are returning
Diffstat (limited to 'source/blender/blenlib/BLI_math_bits.h')
-rw-r--r--source/blender/blenlib/BLI_math_bits.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_bits.h b/source/blender/blenlib/BLI_math_bits.h
index 1d0ee77feed..40a1d84b0e1 100644
--- a/source/blender/blenlib/BLI_math_bits.h
+++ b/source/blender/blenlib/BLI_math_bits.h
@@ -31,6 +31,7 @@ extern "C" {
#include "BLI_math_inline.h"
+/* NOTE: Those functions returns 2 to the power of index of highest order bit. */
MINLINE unsigned int highest_order_bit_uint(unsigned int n);
MINLINE unsigned short highest_order_bit_s(unsigned short n);