mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-28 15:45:30 +00:00
Ported same_line() to XS
This commit is contained in:
@@ -46,5 +46,15 @@ Line::rotate(angle, center_sv)
|
||||
center.from_SV_check(center_sv);
|
||||
THIS->rotate(angle, ¢er);
|
||||
|
||||
bool
|
||||
Line::coincides_with(line_sv)
|
||||
SV* line_sv;
|
||||
CODE:
|
||||
Line line;
|
||||
line.from_SV_check(line_sv);
|
||||
RETVAL = THIS->coincides_with(&line);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
%}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user