mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Follow up (bugfix) of 0d70a2be69
GLIndexedVertexArray newly uses Eigen::AlignedBox<float, 3> for efficiency instead of our double based BoundingBoxf3.
This commit is contained in:
@@ -356,6 +356,7 @@ public:
|
|||||||
if (! this->indexed_vertex_array.bounding_box().isEmpty()) {
|
if (! this->indexed_vertex_array.bounding_box().isEmpty()) {
|
||||||
out.min = this->indexed_vertex_array.bounding_box().min().cast<double>();
|
out.min = this->indexed_vertex_array.bounding_box().min().cast<double>();
|
||||||
out.max = this->indexed_vertex_array.bounding_box().max().cast<double>();
|
out.max = this->indexed_vertex_array.bounding_box().max().cast<double>();
|
||||||
|
out.defined = true;
|
||||||
};
|
};
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user