29#ifndef PXC_NP_CONTACT_PREP_SHARED_H
30#define PXC_NP_CONTACT_PREP_SHARED_H
34class PxcNpThreadContext;
35struct PxsMaterialInfo;
36class PxsMaterialManager;
37class PxsConstraintBlockManager;
38class PxcConstraintBlockStream;
39struct PxsContactManagerOutput;
46static const PxReal PXC_SAME_NORMAL = 0.999f;
48PxU32 writeCompressedContact(
const PxContactPoint*
const PX_RESTRICT contactPoints,
const PxU32 numContactPoints, PxcNpThreadContext* threadContext,
49 PxU16& writtenContactCount, PxU8*& outContactPatches, PxU8*& outContactPoints, PxU16& compressedContactSize, PxReal*& contactForces, PxU32 contactForceByteSize,
50 const PxsMaterialManager* materialManager,
bool hasModifiableContacts,
bool forceNoResponse, PxsMaterialInfo*
PX_RESTRICT pMaterial, PxU8& numPatches,
51 PxU32 additionalHeaderSize = 0, PxsConstraintBlockManager* manager = NULL, PxcConstraintBlockStream* blockStream = NULL,
bool insertAveragePoint =
false,
52 PxcDataStreamPool* pool = NULL, PxcDataStreamPool* patchStreamPool = NULL, PxcDataStreamPool* forcePool = NULL,
const bool isMeshType =
false);
#define PX_RESTRICT
Definition PxPreprocessor.h:355
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39