mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Set a missing bbox.defined flag.
This commit is contained in:
parent
6b2b279889
commit
83b5b9e660
2 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,7 @@ class BoundingBoxBase
|
|||
void scale(double factor);
|
||||
PointClass size() const;
|
||||
double radius() const;
|
||||
void translate(coordf_t x, coordf_t y) { this->min.translate(x, y); this->max.translate(x, y); }
|
||||
void translate(coordf_t x, coordf_t y) { assert(this->defined); this->min.translate(x, y); this->max.translate(x, y); }
|
||||
void translate(const Pointf &pos) { this->translate(pos.x, pos.y); }
|
||||
void offset(coordf_t delta);
|
||||
PointClass center() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue