mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-03 12:04:05 -06: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:
parent
d291bb397b
commit
d0a4161f47
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue