mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Replaced coincides_with(const Line &line) with operator==
This commit is contained in:
parent
9e7634b6e8
commit
ab60d8adb4
6 changed files with 5 additions and 4 deletions
|
@ -495,7 +495,7 @@ void from_SV(SV* point_sv, Point* point)
|
|||
AV* point_av = (AV*)SvRV(point_sv);
|
||||
// get a double from Perl and round it, otherwise
|
||||
// it would get truncated
|
||||
(*point) = Point(lrint(SvNV(*av_fetch(point_av, 0, 0))), lrint(SvNV(*av_fetch(point_av, 1, 0))));
|
||||
(*point) = Point(SvNV(*av_fetch(point_av, 0, 0)), SvNV(*av_fetch(point_av, 1, 0)));
|
||||
}
|
||||
|
||||
void from_SV_check(SV* point_sv, Point* point)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue