mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Keep model objects aligned to Z = 0 in plater
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user