mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-20 06:01:16 +00:00
Incomplete work for porting BoundingBox to XS
This commit is contained in:
1 parent
3e93a14912
commit
9c0a6a79d3
17 files changed
+421
-18
No files matched your search
@@ -615,6 +615,17 @@ TriangleMesh::convex_hull(Polygon* hull)
|
||||
Slic3r::Geometry::convex_hull(pp, hull);
|
||||
}
|
||||
|
||||
void
|
||||
TriangleMesh::bounding_box(BoundingBoxf3* bb) const
|
||||
{
|
||||
bb->min.x = this->stl.stats.min.x;
|
||||
bb->min.y = this->stl.stats.min.y;
|
||||
bb->min.z = this->stl.stats.min.z;
|
||||
bb->max.x = this->stl.stats.max.x;
|
||||
bb->max.y = this->stl.stats.max.y;
|
||||
bb->max.z = this->stl.stats.max.z;
|
||||
}
|
||||
|
||||
void
|
||||
TriangleMesh::require_shared_vertices()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user