diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2009-12-22 22:52:14 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2009-12-22 22:52:14 +0300 |
commit | 7e498afe330021eb868dcfec8a55b02f2cb5955c (patch) | |
tree | 45b9cff937f120921cced59705178bd20cc1592b /extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.h | |
parent | c033bf8957a4a00fa378d1b3d3e951bd8f2e2970 (diff) |
Bullet: synchronize soft body helpers with current SVN.
Diffstat (limited to 'extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.h')
-rw-r--r-- | extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.h b/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.h index 0e3b50397ee..5eb2ebc0735 100644 --- a/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.h +++ b/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.h @@ -109,11 +109,13 @@ struct btSoftBodyHelpers static btSoftBody* CreateFromTriMesh( btSoftBodyWorldInfo& worldInfo, const btScalar* vertices, const int* triangles, - int ntriangles); + int ntriangles, + bool randomizeConstraints = true); /* Create from convex-hull */ static btSoftBody* CreateFromConvexHull( btSoftBodyWorldInfo& worldInfo, const btVector3* vertices, - int nvertices); + int nvertices, + bool randomizeConstraints = true); }; #endif //SOFT_BODY_HELPERS_H |