mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Ported same_line() to XS
This commit is contained in:
parent
b5aaeb9b12
commit
d8e098ab0e
5 changed files with 21 additions and 9 deletions
|
@ -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
|
||||
|
||||
%}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue