mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Ported contains_line() to XS
This commit is contained in:
1 parent
bd62de7653
commit
a225a8b2ef
10 files changed
+97
-67
No files matched your search
+1
-1
@@ -26,7 +26,7 @@
|
||||
Point* point_at(double distance)
|
||||
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = THIS->point_at(distance); %};
|
||||
Polyline* as_polyline()
|
||||
%code{% const char* CLASS = "Slic3r::Polyline"; RETVAL = new Polyline(); RETVAL->points.push_back(THIS->a); RETVAL->points.push_back(THIS->b); %};
|
||||
%code{% const char* CLASS = "Slic3r::Polyline"; RETVAL = new Polyline(*THIS); %};
|
||||
%{
|
||||
|
||||
Line*
|
||||
|
||||
Reference in new issue
Block a user