ScummVM API documentation
dgPolygonSoupDatabase Class Referenceabstract
Inheritance diagram for dgPolygonSoupDatabase:
dgAABBPolygonSoup dgCollisionBVH

Public Member Functions

dgFloat32 GetRadius () const
 
dgInt32 GetVertexCount () const
 
dgInt32 GetStrideInBytes () const
 
dgFloat32 * GetLocalVertexPool () const
 
dgUnsigned32 GetTagId (const dgInt32 *face) const
 
void SetTagId (const dgInt32 *face, dgUnsigned32 newID) const
 
virtual void Serialize (dgSerialize callback, void *const userData) const =0
 
virtual void Deserialize (dgDeserialize callback, void *const userData)=0
 
virtual void GetAABB (dgVector &p0, dgVector &p1) const
 

Protected Member Functions

virtual void ForAllSectors (const dgVector &min, const dgVector &max, dgAABBIntersectCallback callback, void *const context) const
 
virtual void ForAllSectorsSimd (const dgVector &min, const dgVector &max, dgAABBIntersectCallback callback, void *const context) const
 
virtual void ForAllSectorsRayHit (const dgFastRayTest &ray, dgRayIntersectCallback callback, void *const context) const
 
virtual void ForAllSectorsRayHitSimd (const dgFastRayTest &ray, dgRayIntersectCallback callback, void *const context) const
 
 dgPolygonSoupDatabase (const char *name=NULL)
 

Protected Attributes

dgInt32 m_vertexCount
 
dgInt32 m_strideInBytes
 
dgFloat32 * m_localVertex
 

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