package Ogre::Radian; use strict; use warnings; # xxx: this should be in XS, but I can't get it to work use overload '==' => \&rad_eq_xs, '!=' => \&rad_ne_xs, '<' => \&rad_lt_xs, '>' => \&rad_gt_xs, '<=' => \&rad_le_xs, '>=' => \&rad_ge_xs, '+' => \&rad_plus_xs, '-' => \&rad_minus_xs, '*' => \&rad_mult_xs, 'neg' => \&rad_neg_xs, ; 1; __END__ =head1 NAME Ogre::Radian =head1 SYNOPSIS use Ogre; use Ogre::Radian; # (for now see examples/README.txt) =head1 DESCRIPTION See the online API documentation at L B this Perl binding is currently I and subject to API changes. =head1 CLASS METHODS =head2 Ogre::Radian->new(...) I =over =item ... : this varies... (sorry, look in the .xs file) =back I =over =item Radian * =back =head2 Ogre::Radian->DESTROY() This method is called automatically; don't call it yourself. =head2 \&eq_xs This is an operator overload method; don't call it yourself. =head1 INSTANCE METHODS =head2 $obj->valueDegrees() I =over =item Real =back =head2 $obj->valueRadians() I =over =item Real =back =head2 $obj->valueAngleUnits() I =over =item Real =back =head1 AUTHOR Scott Lanning Eslanning@cpan.orgE For licensing information, see README.txt . =cut