RavEngine
Loading...
Searching...
No Matches
physx::Ext::MeshSimplificator Class Reference

Public Member Functions

void init (const PxSimpleTriangleMesh &inputMesh, PxReal edgeLengthCostWeight_=1e-1f, PxReal flatnessDetectionThreshold_=1e-2f)
 
void init (const PxArray< PxVec3 > &vertices, const PxArray< PxU32 > &triIds, PxReal edgeLengthCostWeight_=1e-1f, PxReal flatnessDetectionThreshold_=1e-2f)
 
void decimateByRatio (PxF32 relativeOutputMeshSize=0.5f, PxF32 maximalEdgeLength=0.0f)
 
void decimateBySize (PxI32 targetTriangleCount, PxF32 maximalEdgeLength=0.0f)
 
void readBack (PxArray< PxVec3 > &vertices, PxArray< PxU32 > &triIds, PxArray< PxU32 > *vertexMap=NULL)
 

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