mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Keep model objects aligned to Z = 0 in plater
This commit is contained in:
parent
050f9ff61a
commit
360dee862b
10 changed files with 43 additions and 32 deletions
|
@ -41,7 +41,7 @@ Point::translate(double x, double y)
|
|||
}
|
||||
|
||||
void
|
||||
Point::translate(const Point &vector)
|
||||
Point::translate(const Vector &vector)
|
||||
{
|
||||
this->translate(vector.x, vector.y);
|
||||
}
|
||||
|
@ -340,6 +340,12 @@ Pointf3::scale(double factor)
|
|||
this->z *= factor;
|
||||
}
|
||||
|
||||
void
|
||||
Pointf3::translate(const Vectorf3 &vector)
|
||||
{
|
||||
this->translate(vector.x, vector.y, vector.z);
|
||||
}
|
||||
|
||||
void
|
||||
Pointf3::translate(double x, double y, double z)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue