Simplification

This commit is contained in:
Irlan
2019-07-07 23:09:13 -03:00
parent 2982bc2bd3
commit e9714885e4
2 changed files with 6 additions and 84 deletions

View File

@ -53,15 +53,6 @@ struct b3ClothForceSolverData
b3DenseVec3* z;
};
struct b3AccelerationConstraint
{
u32 i1;
u32 ndof;
b3Vec3 p, q, z;
void Apply(const b3ClothForceSolverData* data);
};
class b3ClothForceSolver
{
public:
@ -71,7 +62,6 @@ public:
void Solve(float32 dt, const b3Vec3& gravity);
private:
void ApplyForces();
void ApplyConstraints();
b3StackAllocator* m_allocator;
@ -81,8 +71,6 @@ private:
u32 m_forceCount;
b3Force** m_forces;
b3AccelerationConstraint* m_constraints;
b3ClothForceSolverData m_solverData;
};