Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/tools/bmesh_boolean.cc
| Show All 32 Lines | |||||
| #include "PIL_time.h" | #include "PIL_time.h" | ||||
| // #define PERF_DEBUG | // #define PERF_DEBUG | ||||
| namespace blender::meshintersect { | namespace blender::meshintersect { | ||||
| #ifdef WITH_GMP | #ifdef WITH_GMP | ||||
| /** Make a #blender::meshintersect::Mesh from #BMesh bm. | /** | ||||
| * Make a #blender::meshintersect::Mesh from #BMesh bm. | |||||
| * We are given a triangulation of it from the caller via #looptris, | * We are given a triangulation of it from the caller via #looptris, | ||||
| * which are looptris_tot triples of loops that together tessellate | * which are looptris_tot triples of loops that together tessellate | ||||
| * the faces of bm. | * the faces of bm. | ||||
| * Return a second #IMesh in *r_triangulated that has the triangulated | * Return a second #IMesh in *r_triangulated that has the triangulated | ||||
| * mesh, with face "orig" fields that connect the triangles back to | * mesh, with face "orig" fields that connect the triangles back to | ||||
| * the faces in the returned (polygonal) mesh. | * the faces in the returned (polygonal) mesh. | ||||
| */ | */ | ||||
| static IMesh mesh_from_bm(BMesh *bm, | static IMesh mesh_from_bm(BMesh *bm, | ||||
| ▲ Show 20 Lines • Show All 480 Lines • Show Last 20 Lines | |||||