diff options
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index d2bb60717ca..0ec65999006 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -219,6 +219,9 @@ MINLINE unsigned int round_db_to_uint_clamp(double a); int pow_i(int base, int exp); double double_round(double x, int ndigits); +float floor_power_of_10(float f); +float ceil_power_of_10(float f); + #ifdef BLI_MATH_GCC_WARN_PRAGMA # pragma GCC diagnostic pop #endif |