add Thomas Jacobsen / position based dynamics cloth constraint solver
This commit is contained in:
10
Demos3/CpuDemos/deformable/PositionBasedDynamics.h
Normal file
10
Demos3/CpuDemos/deformable/PositionBasedDynamics.h
Normal 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
|
||||
Reference in New Issue
Block a user