diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/BLI_math_geom.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index 8b5190b9672..633887e3ef8 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -37,10 +37,6 @@ extern "C" { #include "BLI_compiler_attrs.h" #include "BLI_math_inline.h" -#if BLI_MATH_DO_INLINE -#include "intern/math_geom_inline.c" -#endif - #ifdef BLI_MATH_GCC_WARN_PRAGMA # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wredundant-decls" @@ -314,6 +310,12 @@ MINLINE int min_axis_v3(const float vec[3]); MINLINE int poly_to_tri_count(const int poly_count, const int corner_count); +/**************************** Inline Definitions ******************************/ + +#if BLI_MATH_DO_INLINE +#include "intern/math_geom_inline.c" +#endif + #ifdef BLI_MATH_GCC_WARN_PRAGMA # pragma GCC diagnostic pop #endif |