EarlyOutPolyList
Engine/source/collision/earlyOutPolyList.h
Early out check PolyList.
Classes:
Private Attributes
Public Attributes
Public Functions
begin(BaseMatInstance * material, U32 surfaceKey)
Start a surface.
bool
isEmpty()
Are we empty of data?
Protected Functions
Detailed Description
Early out check PolyList.
This class is used primarily for triggers and similar checks. It checks to see if any of the geometry you feed it is inside its area, and if it is, it stops checking for any more data and returns a true value. This is good if you want to know if anything is in your "trigger" area, for instance.
see:
Public Types
typedef Vector< PlaneF > PlaneList
Private Types
typedef Vector< U32 > IndexList
typedef Vector< Poly > PolyList
typedef Vector< Vertex > VertexList
Private Attributes
bool mEarlyOut
IndexList mIndexList
PolyList mPolyList
PlaneList mPolyPlaneList
VertexList mVertexList
Public Attributes
VectorF mNormal
PlaneList mPlaneList
Private Functions
memcpy(U32 * d, U32 * s, U32 size)
Public Functions
EarlyOutPolyList()
~EarlyOutPolyList()
addPlane(const PlaneF & plane)
Reimplemented from: AbstractPolyList
addPoint(const Point3F & p)
Reimplemented from: AbstractPolyList
begin(BaseMatInstance * material, U32 surfaceKey)
Reimplemented from: AbstractPolyList
clear()
end()
Reimplemented from: AbstractPolyList
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
vertex(U32 vi)
Reimplemented from: AbstractPolyList