Math-Project3D
view release on metacpan or search on metacpan
lib/Math/Project3D.pm view on Meta::CPAN
sub new {
my $proto = shift;
my $class = ref $proto || $proto;
# !!!FIXME!!! Insert argument checking here
my $self = {
function => undef,
@_
};
bless $self => $class;
# Some attributes are required.
my $missing_attribute = $self->_require_attributes(qw(
plane_basis_vector
plane_direction1
plane_direction2
));
croak "Required attribute '$missing_attribute' missing."
if defined $missing_attribute;
( run in 0.258 second using v1.01-cache-2.11-cpan-3b35f9de6a3 )