NAME
Ogre::Quaternion
SYNOPSIS
use Ogre;
use Ogre::Quaternion;
# (for now see examples/README.txt)
DESCRIPTION
See the online API documentation at http://www.ogre3d.org/docs/api/html/classOgre_1_1Quaternion.html
Note: this Perl binding is currently experimental and subject to API changes.
CLASS METHODS
Ogre::Quaternion->new(...)
Parameter types
Returns
Ogre::Quaternion->DESTROY()
This method is called automatically; don't call it yourself.
\&eq_xs
This is an operator overload method; don't call it yourself.
\&plus_xs
This is an operator overload method; don't call it yourself.
\&mult_xs
This is an operator overload method; don't call it yourself.
\&neg_xs
This is an operator overload method; don't call it yourself.
INSTANCE METHODS
$obj->FromRotationMatrix($kRot)
Parameter types
Returns
- void
$obj->ToRotationMatrix($kRot)
Parameter types
Returns
- void
$obj->FromAngleAxis($rfAngle, $rkAxis)
Parameter types
Returns
- void
$obj->ToAngleAxis($rfAngle, $rkAxis)
Parameter types
Returns
- void
$obj->FromAxes($xAxis, $yAxis, $zAxis)
Parameter types
Returns
- void
$obj->ToAxes($xAxis, $yAxis, $zAxis)
Parameter types
Returns
- void
$obj->xAxis()
Returns
$obj->yAxis()
Returns
$obj->zAxis()
Returns
$obj->Dot($rkQ)
Parameter types
Returns
- Real
$obj->Norm()
Returns
- Real
$obj->normalise()
Returns
- Real
$obj->getRoll($bool reprojectAxis=true)
Parameter types
Returns
$obj->getPitch($bool reprojectAxis=true)
Parameter types
Returns
$obj->getYaw($bool reprojectAxis=true)
Parameter types
Returns
$obj->equals($rhs, $tolerance)
Parameter types
Returns
- bool
$obj->w()
Returns
- Real
$obj->x()
Returns
- Real
$obj->y()
Returns
- Real
$obj->z()
Returns
- Real
$obj->setW($w)
Parameter types
Returns
- void
$obj->setX($x)
Parameter types
Returns
- void
$obj->setY($y)
Parameter types
Returns
- void
$obj->setZ($z)
Parameter types
Returns
- void
AUTHOR
Scott Lanning <slanning@cpan.org>
For licensing information, see README.txt .