diff options
Diffstat (limited to 'source/blender/freestyle/intern/geometry/normal_cycle.h')
-rw-r--r-- | source/blender/freestyle/intern/geometry/normal_cycle.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/geometry/normal_cycle.h b/source/blender/freestyle/intern/geometry/normal_cycle.h index 86e3ed0f2f5..441fca7ac5f 100644 --- a/source/blender/freestyle/intern/geometry/normal_cycle.h +++ b/source/blender/freestyle/intern/geometry/normal_cycle.h @@ -43,6 +43,10 @@ #include "../system/FreestyleConfig.h" +#ifdef WITH_CXX_GUARDEDALLOC +#include "MEM_guardedalloc.h" +#endif + namespace Freestyle { using namespace Geometry; @@ -123,6 +127,11 @@ private: real eigen_value_[3]; real M_[6]; int i_[3]; + +#ifdef WITH_CXX_GUARDEDALLOC +public: + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:OGF:NormalCycle") +#endif }; inline void NormalCycle::accumulate_dihedral_angle(const Vec3r& edge, const double beta, double neigh_area) |