BoxConvex
Engine/source/collision/boxConvex.h
Private Functions
Public Functions
getFeatures(const MatrixF & mat, const VectorF & n, ConvexFeature * cf)
This is used by the GJK collision in Vehicle.
getPolyList(AbstractPolyList * list)
Builds a collision poly list out of this convex.
init(SceneObject * obj)
Detailed Description
Public Attributes
Point3F mCenter
VectorF mSize
Private Functions
emitEdge(S32 v1, S32 v2, const MatrixF & mat, ConvexFeature * cf)
emitFace(S32 fi, const MatrixF & mat, ConvexFeature * cf)
getVertex(S32 v)
Public Functions
BoxConvex()
getFeatures(const MatrixF & mat, const VectorF & n, ConvexFeature * cf)
Reimplemented from: Convex
getPolyList(AbstractPolyList * list)
Reimplemented from: Convex
init(SceneObject * obj)
support(const VectorF & v)
Reimplemented from: Convex