#include <OgreSceneManager.h>
Public Member Functions | |
VisibleObjectsBoundsInfo () | |
void | reset () |
void | merge (const AxisAlignedBox &boxBounds, const Sphere &sphereBounds, const Camera *cam) |
Public Attributes | |
AxisAlignedBox | aabb |
The axis-aligned bounds of the visible objects. | |
Real | minDistance |
The closest a visible object is to the camera. | |
Real | maxDistance |
The farthest a visible objects is from the camera. |
Definition at line 73 of file OgreSceneManager.h.
Ogre::VisibleObjectsBoundsInfo::VisibleObjectsBoundsInfo | ( | ) |
void Ogre::VisibleObjectsBoundsInfo::reset | ( | void | ) |
Definition at line 87 of file OgreSceneManager.h.
References aabb, maxDistance, minDistance, and Ogre::AxisAlignedBox::setNull().
Referenced by VisibleObjectsBoundsInfo().
void Ogre::VisibleObjectsBoundsInfo::merge | ( | const AxisAlignedBox & | boxBounds, | |
const Sphere & | sphereBounds, | |||
const Camera * | cam | |||
) |
Definition at line 94 of file OgreSceneManager.h.
References aabb, Ogre::Sphere::getCenter(), Ogre::Camera::getDerivedPosition(), Ogre::Sphere::getRadius(), maxDistance, Ogre::AxisAlignedBox::merge(), and minDistance.
The farthest a visible objects is from the camera.
Definition at line 80 of file OgreSceneManager.h.
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat May 10 16:29:00 2008