OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Represents a convex volume bounded by planes. More...
#include <OgrePlaneBoundedVolume.h>
Public Types | |
typedef std::vector< Plane > | 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.
typedef std::vector<Plane> Ogre::PlaneBoundedVolume::PlaneList |
|
inline |
|
inline |
Constructor, determines which side is deemed to be 'outside'.
|
inline |
Intersection test with AABB.
References Ogre::Plane::getSide().
Intersection test with Sphere.
References Ogre::Plane::getDistance(), and Ogre::Plane::NEGATIVE_SIDE.
Intersection test with a Ray.
References Ogre::Math::intersects(), and Ogre::Plane::POSITIVE_SIDE.
PlaneList Ogre::PlaneBoundedVolume::planes |
Publicly accessible plane list, you can modify this direct.
Plane::Side Ogre::PlaneBoundedVolume::outside |