Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/intern/mesh_intersect.cc
| Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
| # include <tbb/parallel_sort.h> | # include <tbb/parallel_sort.h> | ||||
| # endif | # endif | ||||
| // # define PERFDEBUG | // # define PERFDEBUG | ||||
| namespace blender::meshintersect { | namespace blender::meshintersect { | ||||
| # ifdef PERFDEBUG | # ifdef PERFDEBUG | ||||
| static void perfdata_init(void); | static void perfdata_init(); | ||||
| static void incperfcount(int countnum); | static void incperfcount(int countnum); | ||||
| static void bumpperfcount(int countnum, int amt); | static void bumpperfcount(int countnum, int amt); | ||||
| static void doperfmax(int maxnum, int val); | static void doperfmax(int maxnum, int val); | ||||
| static void dump_perfdata(void); | static void dump_perfdata(); | ||||
| # endif | # endif | ||||
| /** For debugging, can disable threading in intersect code with this static constant. */ | /** For debugging, can disable threading in intersect code with this static constant. */ | ||||
| static constexpr bool intersect_use_threading = true; | static constexpr bool intersect_use_threading = true; | ||||
| Vert::Vert(const mpq3 &mco, const double3 &dco, int id, int orig) | Vert::Vert(const mpq3 &mco, const double3 &dco, int id, int orig) | ||||
| : co_exact(mco), co(dco), id(id), orig(orig) | : co_exact(mco), co(dco), id(id), orig(orig) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 3,173 Lines • Show Last 20 Lines | |||||