add Thomas Jacobsen / position based dynamics cloth constraint solver

This commit is contained in:
erwincoumans
2013-09-06 19:50:58 -07:00
parent 8faac34801
commit 40acf922e3
5 changed files with 94 additions and 18 deletions

View File

@@ -0,0 +1,10 @@
#ifndef POSITION_BASED_DYNAMICS_H
#define POSITION_BASED_DYNAMICS_H
struct PositionBasedDynamics
{
static void solveLinks(struct CpuSoftClothDemoInternalData* clothData, char* vtx, int vertexStride,float dt);
static void solveConstraints(struct CpuSoftClothDemoInternalData* data, char* vtx, int vertexStride,float dt);
};
#endif //POSITION_BASED_DYNAMICS_H