29#ifndef DY_CORRELATION_BUFFER_H
30#define DY_CORRELATION_BUFFER_H
32#include "foundation/PxSimpleTypes.h"
33#include "foundation/PxVec3.h"
34#include "foundation/PxTransform.h"
35#include "foundation/PxBounds3.h"
36#include "geomutils/PxContactBuffer.h"
39#include "DyFrictionPatch.h"
45struct PxsMaterialInfo;
52 static const PxU32 MAX_FRICTION_PATCHES = 32;
53 static const PxU16 LIST_END = 0xffff;
61 PxReal staticFriction, dynamicFriction, restitution;
69 PxVec3 PX_ALIGN(16, frictionPatchWorldNormal[MAX_FRICTION_PATCHES]);
70 PxBounds3 patchBounds[MAX_FRICTION_PATCHES];
72 PxU32 frictionPatchContactCounts[MAX_FRICTION_PATCHES];
73 PxU32 correlationListHeads[MAX_FRICTION_PATCHES+1];
77 PxU16 contactID[MAX_FRICTION_PATCHES][2];
79 PxU32 contactPatchCount, frictionPatchCount;
89 PxReal normalTolerance,
90 PxU32 startContactPatchIndex,
91 PxU32 startFrictionPatchIndex);
97 PxU32 frictionPatchStartIndex,
98 PxReal frictionOffsetThreshold);
Class representing 3D range or axis aligned bounding box.
Definition PxBounds3.h:58
3 Element vector class.
Definition PxVec3.h:50
#define PX_ALIGN(alignment, decl)
Definition PxPreprocessor.h:402
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition DyCorrelationBuffer.h:51
Definition DyFrictionPatch.h:43