BoxConvex

Engine/source/collision/boxConvex.h

More...

Public Attributes

Private Functions

Public Functions

This is used by the GJK collision in Vehicle.

Builds a collision poly list out of this convex.

Returns the farthest point, along a vector, still bound by the convex.

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