fix density based box substitution

This commit is contained in:
Thomas Krijnen
2020-09-30 13:53:30 +02:00
parent 00e4a24153
commit bf4bf3d327
+1 -1
View File
@@ -190,9 +190,9 @@ bool CgalKernel::convert(const taxonomy::shell* l, cgal_shape_t& shape) {
CGAL::Point_3<Kernel_> lower(minmax.first(0), minmax.first(1), minmax.first(2)); CGAL::Point_3<Kernel_> lower(minmax.first(0), minmax.first(1), minmax.first(2));
CGAL::Point_3<Kernel_> upper(minmax.second(0), minmax.second(1), minmax.second(2)); CGAL::Point_3<Kernel_> upper(minmax.second(0), minmax.second(1), minmax.second(2));
shape = utils::create_cube(lower, upper); shape = utils::create_cube(lower, upper);
}
return true; return true;
} }
}
std::list<cgal_face_t> face_list; std::list<cgal_face_t> face_list;
for (auto& f : faces) { for (auto& f : faces) {