12345678910111213141516171819202122232425262728 |
- package Slic3r::Point;
- use strict;
- use warnings;
- sub new_scale {
- my $class = shift;
- return $class->new(map Slic3r::Geometry::scale($_), @_);
- }
- package Slic3r::Pointf;
- use strict;
- use warnings;
- sub new_unscale {
- my $class = shift;
- return $class->new(map Slic3r::Geometry::unscale($_), @_);
- }
- package Slic3r::Pointf3;
- use strict;
- use warnings;
- sub new_unscale {
- my $class = shift;
- return $class->new(map Slic3r::Geometry::unscale($_), @_);
- }
- 1;
|