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.
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->Dot($rkQ)
Parameter types
Returns
- Real
$obj->Norm()
Returns
- Real
$obj->normalise()
Returns
- Real
$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 .