Ogre::Radian - Ogre::Radian documentation


Ogre documentation Contained in the Ogre distribution.

Index


Code Index:

NAME

Top

Ogre::Radian

SYNOPSIS

Top

  use Ogre;
  use Ogre::Radian;
  # (for now see examples/README.txt)

DESCRIPTION

Top

See the online API documentation athttp://www.ogre3d.org/docs/api/html/classOgre_1_1Radian.html

Note: this Perl binding is currently experimental and subject to API changes.

CLASS METHODS

Top

Ogre::Radian->new(...)

Parameter types

... : this varies... (sorry, look in the .xs file)

Returns

Radian *

Ogre::Radian->DESTROY()

This method is called automatically; don't call it yourself.

\&eq_xs

This is an operator overload method; don't call it yourself.

INSTANCE METHODS

Top

$obj->valueDegrees()

Returns

Real

$obj->valueRadians()

Returns

Real

$obj->valueAngleUnits()

Returns

Real

AUTHOR

Top

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .


Ogre documentation Contained in the Ogre distribution.

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__