mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-03 10:32:40 +00:00
Cleanup of some method signatures and of XS return types
This commit is contained in:
@@ -64,10 +64,10 @@ Line::length() const
|
||||
return this->a.distance_to(this->b);
|
||||
}
|
||||
|
||||
Point*
|
||||
Point
|
||||
Line::midpoint() const
|
||||
{
|
||||
return new Point ((this->a.x + this->b.x) / 2.0, (this->a.y + this->b.y) / 2.0);
|
||||
return Point((this->a.x + this->b.x) / 2.0, (this->a.y + this->b.y) / 2.0);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user