Cafu Engine
cf::ClipSys::CollisionModelStaticT::PolygonT Class Reference

Public Member Functions

 PolygonT ()
 The default constructor. More...
 
 PolygonT (CollisionModelStaticT *Parent_, MaterialT *Material_, unsigned long A, unsigned long B, unsigned long C, unsigned long D=0xFFFFFFFF)
 The constructor. More...
 
bool IsTriangle () const
 
BoundingBox3dT GetBB () const
 
void TraceConvexSolid (const InternalTraceSolidT &TraceSolid, const Vector3dT &Start, const Vector3dT &Ray, unsigned long ClipMask, TraceResultT &Result) const
 
void TraceRay (const Vector3dT &Start, const Vector3dT &Ray, unsigned long ClipMask, TraceResultT &Result) const
 

Public Attributes

CollisionModelStaticTParent
 
unsigned long Vertices [4]
 The indices of the vertices that define the triangle or quad, respectively, referring into the m_Vertices list. More...
 
MaterialTMaterial
 The material on the surface of this polygon. More...
 
unsigned long CheckCount
 Used in order to avoid processing things twice. More...
 

Constructor & Destructor Documentation

CollisionModelStaticT::PolygonT::PolygonT ( )

The default constructor.

CollisionModelStaticT::PolygonT::PolygonT ( CollisionModelStaticT Parent_,
MaterialT Material_,
unsigned long  A,
unsigned long  B,
unsigned long  C,
unsigned long  D = 0xFFFFFFFF 
)

The constructor.

Member Data Documentation

unsigned long cf::ClipSys::CollisionModelStaticT::PolygonT::CheckCount
mutable

Used in order to avoid processing things twice.

MaterialT* cf::ClipSys::CollisionModelStaticT::PolygonT::Material

The material on the surface of this polygon.

unsigned long cf::ClipSys::CollisionModelStaticT::PolygonT::Vertices[4]

The indices of the vertices that define the triangle or quad, respectively, referring into the m_Vertices list.


The documentation for this class was generated from the following files: