RavEngine
Loading...
Searching...
No Matches
physx::Gu::PCMSphereVsMeshContactGeneration Class Reference
Inheritance diagram for physx::Gu::PCMSphereVsMeshContactGeneration:
[legend]
Collaboration diagram for physx::Gu::PCMSphereVsMeshContactGeneration:
[legend]

Public Member Functions

 PCMSphereVsMeshContactGeneration (const aos::Vec3VArg sphereCenter, const aos::FloatVArg sphereRadius, const aos::FloatVArg contactDist, const aos::FloatVArg replaceBreakingThreshold, const aos::PxTransformV &sphereTransform, const aos::PxTransformV &meshTransform, MultiplePersistentContactManifold &multiManifold, PxContactBuffer &contactBuffer, PxInlineArray< PxU32, LOCAL_PCM_CONTACTS_SIZE > *deferredContacts, PxRenderOutput *renderOutput=NULL)
 
bool processTriangle (const PxVec3 *verts, PxU32 triangleIndex, PxU8 triFlags, const PxU32 *vertInds)
 
void generateLastContacts ()
 
void addToPatch (const aos::Vec3VArg contactP, const aos::Vec3VArg patchNormal, const aos::FloatV pen, const PxU32 triangleIndex)
 
- Public Member Functions inherited from physx::Gu::PCMMeshContactGeneration
 PCMMeshContactGeneration (const aos::FloatVArg contactDist, const aos::FloatVArg replaceBreakingThreshold, const aos::PxTransformV &convexTransform, const aos::PxTransformV &meshTransform, Gu::MultiplePersistentContactManifold &multiManifold, PxContactBuffer &contactBuffer, PxInlineArray< PxU32, LOCAL_PCM_CONTACTS_SIZE > *deferredContacts, PxRenderOutput *renderOutput)
 
template<PxU32 TriangleCount, typename Derived >
bool processTriangleCache (Gu::TriangleCache< TriangleCount > &cache)
 
void prioritizeContactPatches ()
 
void addManifoldPointToPatch (const aos::Vec3VArg currentPatchNormal, const aos::FloatVArg maxPen, const PxU32 previousNumContacts)
 
void processContacts (const PxU8 maxContactPerManifold, const bool isNotLastPatch=true)
 

Public Attributes

aos::Vec3V mSphereCenter
 
aos::FloatV mSphereRadius
 
aos::FloatV mSqInflatedSphereRadius
 
PxInlineArray< SortedTriangle, 64 > mSortedTriangle
 
- Public Attributes inherited from physx::Gu::PCMMeshContactGeneration
PCMContactPatch mContactPatch [PCM_MAX_CONTACTPATCH_SIZE]
 
PCMContactPatch * mContactPatchPtr [PCM_MAX_CONTACTPATCH_SIZE]
 
const aos::FloatV mContactDist
 
const aos::FloatV mReplaceBreakingThreshold
 
const aos::PxTransformV & mConvexTransform
 
const aos::PxTransformV & mMeshTransform
 
Gu::MultiplePersistentContactManifold & mMultiManifold
 
PxContactBuffer & mContactBuffer
 
aos::FloatV mAcceptanceEpsilon
 
aos::FloatV mSqReplaceBreakingThreshold
 
aos::PxMatTransformV mMeshToConvex
 
Gu::MeshPersistentContact * mManifoldContacts
 
PxU32 mNumContacts
 
PxU32 mNumContactPatch
 
PxU32 mNumCalls
 
Gu::CacheMap< Gu::CachedEdge, MAX_CACHE_SIZE > mEdgeCache
 
Gu::CacheMap< Gu::CachedVertex, MAX_CACHE_SIZE > mVertexCache
 
PxInlineArray< PxU32, LOCAL_PCM_CONTACTS_SIZE > * mDeferredContacts
 
PxRenderOutput * mRenderOutput
 

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