NAME
Ogre::Vector3
SYNOPSIS
use Ogre;
use Ogre::Vector3;
# (for now see examples/README.txt)
DESCRIPTION
See the online API documentation at http://www.ogre3d.org/docs/api/html/classOgre_1_1Vector3.html
Note: this Perl binding is currently experimental and subject to API changes.
CLASS METHODS
Ogre::Vector3->new(...)
Parameter types
Returns
Ogre::Vector3->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.
INSTANCE METHODS
$obj->x()
Returns
- Real
$obj->y()
Returns
- Real
$obj->z()
Returns
- Real
$obj->setX($x)
Parameter types
Returns
- void
$obj->setY($y)
Parameter types
Returns
- void
$obj->setZ($z)
Parameter types
Returns
- void
$obj->length()
Returns
- Real
$obj->squaredLength()
Returns
- Real
$obj->distance($rhs)
Parameter types
Returns
- Real
$obj->squaredDistance($rhs)
Parameter types
Returns
- Real
$obj->dotProduct($vec)
Parameter types
Returns
- Real
$obj->absDotProduct($vec)
Parameter types
Returns
- Real
$obj->normalise()
Returns
- Real
$obj->makeFloor($cmp)
Parameter types
Returns
- void
$obj->makeCeil($cmp)
Parameter types
Returns
- void
$obj->isZeroLength()
Returns
- bool
$obj->positionEquals($rhs, $tolerance=0.001)
Parameter types
Returns
- bool
$obj->positionCloses($rhs, $tolerance=0.001)
Parameter types
Returns
- bool
$obj->directionEquals($rhs, $tolerance)
Parameter types
Returns
- bool
AUTHOR
Scott Lanning <slanning@cpan.org>
For licensing information, see README.txt .