2011-09-01 19:06:28 +00:00
|
|
|
package Slic3r::Point;
|
2011-10-12 12:54:49 +00:00
|
|
|
use strict;
|
|
|
|
use warnings;
|
2011-09-01 19:06:28 +00:00
|
|
|
|
2013-07-16 15:13:01 +00:00
|
|
|
sub new_scale {
|
|
|
|
my $class = shift;
|
|
|
|
return $class->new(map Slic3r::Geometry::scale($_), @_);
|
|
|
|
}
|
|
|
|
|
2014-10-21 18:16:45 +00:00
|
|
|
package Slic3r::Pointf;
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
sub new_unscale {
|
|
|
|
my $class = shift;
|
|
|
|
return $class->new(map Slic3r::Geometry::unscale($_), @_);
|
|
|
|
}
|
|
|
|
|
2011-09-01 19:06:28 +00:00
|
|
|
1;
|