![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
3D Line-Swept-Sphere class for intersection testing in Ogre3D Some algorithms based off code from the Wild Magic library by Dave Eberly More...
#include <OgreCapsule.h>
Public Member Functions | |
| Capsule () | |
| Capsule (const Segment &, Real) | |
| bool | intersects (const Capsule &) const |
| bool | intersects (const Segment &) const |
| void | set (const Vector3 &newOrigin, const Vector3 &newEnd, Real newRadius) |
| void | setEndPoint (const Vector3 &newEndpoint) |
| void | setOrigin (const Vector3 &newOrigin) |
| void | setRadius (Real newRadius) |
Public Attributes | |
| Real | mRadius |
| Segment | mSegment |
3D Line-Swept-Sphere class for intersection testing in Ogre3D Some algorithms based off code from the Wild Magic library by Dave Eberly
| Ogre::Capsule::Capsule | ( | ) |
Referenced by intersects().
| void Ogre::Capsule::setOrigin | ( | const Vector3 & | newOrigin | ) |
| void Ogre::Capsule::setEndPoint | ( | const Vector3 & | newEndpoint | ) |
| void Ogre::Capsule::setRadius | ( | Real | newRadius | ) |
| bool Ogre::Capsule::intersects | ( | const Segment & | ) | const |
| Segment Ogre::Capsule::mSegment |
| Real Ogre::Capsule::mRadius |