Replaced coincides_with(const Line &line) with operator==

This commit is contained in:
bubnikv 2018-08-17 18:27:07 +02:00
parent 9e7634b6e8
commit ab60d8adb4
6 changed files with 5 additions and 4 deletions

View file

@ -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)