RavEngine
Loading...
Searching...
No Matches
physx::ConvexHullLib Class Referenceabstract
Inheritance diagram for physx::ConvexHullLib:
[legend]
Collaboration diagram for physx::ConvexHullLib:
[legend]

Public Member Functions

 ConvexHullLib (const PxConvexMeshDesc &desc, const PxCookingParams &params)
 
virtual PxConvexMeshCookingResult::Enum createConvexHull ()=0
 
virtual void fillConvexMeshDesc (PxConvexMeshDesc &desc)=0
 
virtual bool createEdgeList (const PxU32 nbIndices, const PxU8 *indices, PxU8 **hullDataFacesByEdges8, PxU16 **edgeData16, PxU16 **edges)=0
 

Static Public Attributes

static const PxU32 gpuMaxVertsPerFace = 31
 

Protected Member Functions

bool cleanupVertices (PxU32 svcount, const PxVec3 *svertices, PxU32 stride, PxU32 &vcount, PxVec3 *vertices)
 
bool shiftAndcleanupVertices (PxU32 svcount, const PxVec3 *svertices, PxU32 stride, PxU32 &vcount, PxVec3 *vertices)
 
void swapLargestFace (PxConvexMeshDesc &desc)
 
void shiftConvexMeshDesc (PxConvexMeshDesc &desc)
 

Protected Attributes

const PxConvexMeshDesc & mConvexMeshDesc
 
const PxCookingParams & mCookingParams
 
PxU32 * mSwappedIndices
 
PxVec3 mOriginShift
 
PxVec3 * mShiftedVerts
 

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