mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-08 14:34:04 -06:00
Ported encloses_point() to XS and renamed to contains_point()
This commit is contained in:
parent
a225a8b2ef
commit
5f81292f3f
22 changed files with 81 additions and 76 deletions
|
@ -2,7 +2,7 @@ use Test::More;
|
|||
use strict;
|
||||
use warnings;
|
||||
|
||||
plan tests => 26;
|
||||
plan tests => 25;
|
||||
|
||||
BEGIN {
|
||||
use FindBin;
|
||||
|
@ -85,13 +85,6 @@ my $polygons = [
|
|||
),
|
||||
];
|
||||
|
||||
my $points = [
|
||||
Slic3r::Point->new(73631077, 371742392),
|
||||
Slic3r::Point->new(73631077, 501742392),
|
||||
];
|
||||
|
||||
is Slic3r::Geometry::can_connect_points(@$points, $polygons), 0, 'can_connect_points';
|
||||
|
||||
#==========================================================
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue