mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 18:42:24 +00:00
Ported some methods including add_model_object() and apply_config() to XS
This commit is contained in:
@@ -40,6 +40,12 @@ Point::translate(double x, double y)
|
||||
this->y += y;
|
||||
}
|
||||
|
||||
void
|
||||
Point::translate(const Point &vector)
|
||||
{
|
||||
this->translate(vector.x, vector.y);
|
||||
}
|
||||
|
||||
void
|
||||
Point::rotate(double angle, const Point ¢er)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user