#include <PxClothMeshQuadifier.h>
Public Member Functions | |
PxClothMeshQuadifier (const PxClothMeshDesc &desc) | |
Convert triangles of PxClothMeshDesc to quads. | |
~PxClothMeshQuadifier () | |
PxClothMeshDesc | getDescriptor () const |
Returns a mesh descriptor with some triangle pairs converted to quads. | |
Private Attributes | |
PxClothMeshQuadifierImpl * | mImpl |
PxClothMeshQuadifier::PxClothMeshQuadifier | ( | const PxClothMeshDesc & | desc | ) |
Convert triangles of PxClothMeshDesc to quads.
In PxCloth, quad dominant mesh representations are preferable to pre-triangulated versions. In cases where the mesh has been already triangulated, this class provides a meachanism to convert (quadify) some triangles back to quad representations.
desc | The cloth mesh descriptor prepared for cooking |
PxClothMeshQuadifier::~PxClothMeshQuadifier | ( | ) |
PxClothMeshDesc PxClothMeshQuadifier::getDescriptor | ( | ) | const |
Returns a mesh descriptor with some triangle pairs converted to quads.
PxClothMeshQuadifierImpl* PxClothMeshQuadifier::mImpl [private] |