RavEngine
Loading...
Searching...
No Matches
physx::Gu::HullPolygonData Struct Reference
Collaboration diagram for physx::Gu::HullPolygonData:
[legend]

Public Member Functions

PX_FORCE_INLINE PxReal getMin (const PxVec3 *PX_RESTRICT hullVertices) const
 
PX_FORCE_INLINE PxReal getMax () const
 

Public Attributes

PxPlane mPlane
 Plane equation for this polygon //Could drop 4th elem as it can be computed from any vertex as: d = - p.dot(n);.
 
PxU16 mVRef8
 Offset of vertex references in hull vertex data (CS: can we assume indices are tightly packed and offsets are ascending?? DrawObjects makes and uses this assumption)
 
PxU8 mNbVerts
 Number of vertices/edges in the polygon.
 
PxU8 mMinIndex
 Index of the polygon vertex that has minimal projection along this plane's normal.
 

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