Fix integration of XS containers

This commit is contained in:
Alessandro Ranellucci committed 2013-07-16 17:13:01 +02:00
1 parent 9b582a11ff
commit 9458c7db97
34 files changed
+279 -152

No files matched your search

+9
View File
@@ -18,4 +18,13 @@ sub first_point {
return $self->polygon->[0];
}
sub make_counter_clockwise {
my $self = shift;
if (!$self->polygon->is_counter_clockwise) {
$self->reverse;
return 1;
}
return 0;
}
1;