/usr/lib/perl5/Ogre/Degree.pm is in libogre-perl 0.60-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | package Ogre::Degree;
use strict;
use warnings;
# xxx: this should be in XS, but I can't get it to work
use overload
'==' => \°_eq_xs,
'!=' => \°_ne_xs,
'<' => \°_lt_xs,
'>' => \°_gt_xs,
'<=' => \°_le_xs,
'>=' => \°_ge_xs,
'+' => \°_plus_xs,
'-' => \°_minus_xs,
'*' => \°_mult_xs,
'neg' => \°_neg_xs,
;
1;
__END__
=head1 NAME
Ogre::Degree
=head1 SYNOPSIS
use Ogre;
use Ogre::Degree;
# (for now see examples/README.txt)
=head1 DESCRIPTION
See the online API documentation at
L<http://www.ogre3d.org/docs/api/html/classOgre_1_1Degree.html>
B<Note:> this Perl binding is currently I<experimental> and subject to API changes.
=head1 CLASS METHODS
=head2 Ogre::Degree->new(...)
I<Parameter types>
=over
=item ... : this varies... (sorry, look in the .xs file)
=back
I<Returns>
=over
=item Degree *
=back
=head2 Ogre::Degree->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<Returns>
=over
=item Real
=back
=head2 $obj->valueRadians()
I<Returns>
=over
=item Real
=back
=head2 $obj->valueAngleUnits()
I<Returns>
=over
=item Real
=back
=head1 AUTHOR
Scott Lanning E<lt>slanning@cpan.orgE<gt>
For licensing information, see README.txt .
=cut
|