ExtrudedPolyList
Engine/source/collision/extrudedPolyList.h
Extruded Polytope PolyList.
Classes:
Public Types
Public Static Attributes
Public Attributes
Private Functions
bool
testPoly(ExtrudedFace & )
Public Functions
begin(BaseMatInstance * material, U32 surfaceKey)
Start a surface.
bool
isEmpty()
Are we empty of data?
setVelocity(const VectorF & velocity)
Protected Functions
Detailed Description
Extruded Polytope PolyList.
This class is used primarily for collision detection, by objects which need to check for obstructions along their path. You feed it a polytope to extrude along the direction of movement, and it gives you a list of collisions.
see:
Public Types
typedef Vector< ExtrudedFace > ExtrudedList
typedef Vector< U32 > IndexList
typedef Vector< PlaneF > PlaneList
typedef Vector< Vertex > VertexList
Public Static Attributes
F32 EqualEpsilon
F32 FaceEpsilon
Public Attributes
CollisionList * mCollisionList
ExtrudedList mExtrudedList
IndexList mIndexList
VectorF mNormalVelocity
PlaneList mPlaneList
Poly mPoly
PlaneList mPolyPlaneList
VectorF mVelocity
VertexList mVertexList
Private Functions
testPoly(ExtrudedFace & )
Public Functions
ExtrudedPolyList()
~ExtrudedPolyList()
addPlane(const PlaneF & plane)
Reimplemented from: AbstractPolyList
addPoint(const Point3F & p)
Reimplemented from: AbstractPolyList
adjustCollisionTime()
begin(BaseMatInstance * material, U32 surfaceKey)
Reimplemented from: AbstractPolyList
end()
Reimplemented from: AbstractPolyList
extrude(const Polyhedron & , const VectorF & vec)
isEmpty()
Reimplemented from: AbstractPolyList
plane(const PlaneF & p)
Reimplemented from: AbstractPolyList
plane(const U32 index)
Reimplemented from: AbstractPolyList
plane(U32 v1, U32 v2, U32 v3)
Reimplemented from: AbstractPolyList
setCollisionList(CollisionList * )
setVelocity(const VectorF & velocity)
vertex(U32 vi)
Reimplemented from: AbstractPolyList