mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Fix overflow in Point::ccw() affecting convex hull generation. Includes regression test
This commit is contained in:
parent
0d7f0705f0
commit
90194ee581
4 changed files with 11 additions and 3 deletions
|
@ -25,6 +25,8 @@
|
|||
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = new Point(*(THIS->nearest_point(points))); %};
|
||||
double distance_to(Point* point);
|
||||
%name{distance_to_line} double distance_to(Line* line);
|
||||
double ccw(Point* p1, Point* p2)
|
||||
%code{% RETVAL = THIS->ccw(*p1, *p2); %};
|
||||
|
||||
%{
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue