Bugfix: some holes were filled. #291

This commit is contained in:
Alessandro Ranellucci 2012-04-02 11:40:12 +02:00
parent f380b1007d
commit 0afb5ad9dd
5 changed files with 21 additions and 19 deletions

View file

@ -66,21 +66,6 @@ sub reverse {
@$self = CORE::reverse @$self;
}
sub is_counter_clockwise {
my $self = shift;
return Math::Clipper::is_counter_clockwise($self);
}
sub make_counter_clockwise {
my $self = shift;
$self->reverse if !$self->is_counter_clockwise;
}
sub make_clockwise {
my $self = shift;
$self->reverse if $self->is_counter_clockwise;
}
sub nearest_point_to {
my $self = shift;
my ($point) = @_;