Polytope
Engine/source/collision/polytope.h
Classes:
class
class
class
class
class
Public Types
Public Attributes
Public Functions
Detailed Description
Public Types
typedef Vector< Edge > EdgeList
typedef Vector< Face > FaceList
typedef Vector< Vertex > VertexList
typedef Vector< Volume > VolumeList
typedef Vector< StackElement > VolumeStack
Public Attributes
EdgeList mEdgeList
FaceList mFaceList
VertexList mVertexList
VolumeList mVolumeList
S32 sideCount
Private Functions
intersect(const PlaneF & plane, const Point3F & sp, const Point3F & ep)
Public Functions
Polytope()
buildBox(const MatrixF & transform, const Box3F & box)
didIntersect()
extrudeFace(S32 fi, const VectorF & vec, Polytope * out)
findCollision(const VectorF & vec, Polytope::Collision * best)
intersect(SimObject * , const BSPNode * node)