OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Represents a convex volume bounded by planes. More...
#include <OgrePlaneBoundedVolume.h>
Public Types | |
typedef vector< Plane >::type | PlaneList |
Public Member Functions | |
PlaneBoundedVolume () | |
PlaneBoundedVolume (Plane::Side theOutside) | |
Constructor, determines which side is deemed to be 'outside'. | |
bool | intersects (const AxisAlignedBox &box) const |
Intersection test with AABB. | |
std::pair< bool, Real > | intersects (const Ray &ray) |
Intersection test with a Ray. | |
bool | intersects (const Sphere &sphere) const |
Intersection test with Sphere. | |
Public Attributes | |
Plane::Side | outside |
PlaneList | planes |
Publicly accessible plane list, you can modify this direct. | |
Represents a convex volume bounded by planes.
|
inline |
|
inline |
Constructor, determines which side is deemed to be 'outside'.
|
inline |
Intersection test with AABB.
References Ogre::Plane::getSide().
Intersection test with a Ray.
References Ogre::Math::intersects(), and Ogre::Plane::POSITIVE_SIDE.
Intersection test with Sphere.
References Ogre::Plane::getDistance(), and Ogre::Plane::NEGATIVE_SIDE.
Plane::Side Ogre::PlaneBoundedVolume::outside |
PlaneList Ogre::PlaneBoundedVolume::planes |
Publicly accessible plane list, you can modify this direct.