mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Ported some methods including add_model_object() and apply_config() to XS
This commit is contained in:
parent
6b4015f9ac
commit
3e4c572164
14 changed files with 312 additions and 254 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue