27#ifndef PXDV_FEMCLOTH_CORE_H
28#define PXDV_FEMCLOTH_CORE_H
30#include "foundation/PxSimpleTypes.h"
31#include "foundation/PxTransform.h"
32#include "foundation/PxArray.h"
33#if PX_ENABLE_FEATURES_UNDER_CONSTRUCTION
34#include "PxFEMCloth.h"
36#include "PxFEMParameter.h"
37#include "PxFEMClothFlags.h"
38#include "PxsFEMClothMaterialCore.h"
51 PxU16 solverIterationCounts;
57 PxReal mRestVolumeScale;
76 PxReal mBendingActivationAngle;
79 PxU32 NbCollisionPairUpdatesPerTimestep;
82 PxU32 nbCollisionSubsteps;
92 mBendingActivationAngle = -1.f;
93 mRestVolumeScale = 0.0f;
95 NbCollisionPairUpdatesPerTimestep = 1;
96 nbCollisionSubsteps = 1;
99 void setMaterial(
const PxU16 materialHandle)
101 mMaterialHandles.
pushBack(materialHandle);
104 void clearMaterials() { mMaterialHandles.
clear(); }
PX_INLINE void clear()
Definition PxArray.h:250
PX_FORCE_INLINE T & pushBack(const T &a)
Definition PxArray.h:296
Buffer for delayed bulk read and write operations supporting host and GPU device memory spaces.
Definition PxBuffer.h:66
3 Element vector class.
Definition PxVec3.h:50
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition DyFEMClothCore.h:47
Set of parameters to control the sleeping and collision behavior of FEM based objects.
Definition PxFEMParameter.h:45