#include <CDVolume.h>
|
| | Box (const float &boundingRadius_, const float &width_, const float &height_, const float &depth_) |
| |
| virtual SHAPE_TYPE | getType () const |
| |
| Math::Point | getDimensions () const |
| |
| virtual float | getDist (const Math::Point<> &thisCenter_, const Math::Matrix3x3 &thisRot_, const Shape *otherShape_, const Math::Point<> &otherCenter_, const Math::Matrix3x3 &otherRot_) const |
| |
| virtual bool | getFirstIntersection (const Math::Point<> &thisCenter_, const Math::Matrix3x3 &thisRot_, const Math::Point<> &thisVel_, const Shape *otherShape_, const Math::Point<> &otherCenter_, const Math::Matrix3x3 &otherRot_, const Math::Point<> &otherVel_, HitInfo &hitInfo_) const |
| |
| virtual void | scale (const Math::Point<> &factor_) |
| |
| | Shape (const float &boundingRadius_=0.0f) |
| |
| virtual | ~Shape () |
| |
| virtual bool | getClosestRayIntersection (const Math::Point<> &thisCenter_, const Math::Matrix3x3 &thisRot_, const Math::Point<> &rayOrigin_, const Math::Point<> &rayDir_, Math::Point<> &hitPos_, float &t_, Math::Point<> &hitNormal_) const |
| |
| OpenSkyNet::CD::Box::Box |
( |
const float & |
boundingRadius_, |
|
|
const float & |
width_, |
|
|
const float & |
height_, |
|
|
const float & |
depth_ |
|
) |
| |
|
inline |
| Math::Point OpenSkyNet::CD::Box::getDimensions |
( |
| ) |
const |
|
inline |
NOTE: This method assumes all rotations for boxes are identity matrices (so are axis-aligned boxes).
Reimplemented from OpenSkyNet::CD::Shape.
| virtual SHAPE_TYPE OpenSkyNet::CD::Box::getType |
( |
| ) |
const |
|
inlinevirtual |
| float OpenSkyNet::CD::Box::_depthDiv2 |
| float OpenSkyNet::CD::Box::_heightDiv2 |
| float OpenSkyNet::CD::Box::_widthDiv2 |
The documentation for this struct was generated from the following files: