#include <OgreSceneManager.h>
Public Member Functions | |
VisibleObjectsBoundsInfo () | |
void | reset () |
void | merge (const AxisAlignedBox &boxBounds, const Sphere &sphereBounds, const Camera *cam, bool receiver=true) |
Public Attributes | |
AxisAlignedBox | aabb |
The axis-aligned bounds of the visible objects. | |
AxisAlignedBox | receiverAabb |
The axis-aligned bounds of the visible shadow receiver 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 89 of file OgreSceneManager.h.
References aabb, maxDistance, minDistance, receiverAabb, and Ogre::AxisAlignedBox::setNull().
Referenced by VisibleObjectsBoundsInfo().
void Ogre::VisibleObjectsBoundsInfo::merge | ( | const AxisAlignedBox & | boxBounds, | |
const Sphere & | sphereBounds, | |||
const Camera * | cam, | |||
bool | receiver = true | |||
) |
Definition at line 97 of file OgreSceneManager.h.
References aabb, Ogre::Sphere::getCenter(), Ogre::Camera::getDerivedPosition(), Ogre::Sphere::getRadius(), maxDistance, Ogre::AxisAlignedBox::merge(), minDistance, and receiverAabb.
The axis-aligned bounds of the visible shadow receiver objects.
Definition at line 78 of file OgreSceneManager.h.
The farthest a visible objects is from the camera.
Definition at line 82 of file OgreSceneManager.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Thu Jan 22 21:27:08 2009