24 lines
974 B
Text
24 lines
974 B
Text
|
backport of
|
||
|
https://github.com/bulletphysics/bullet3/commit/4f0673810cab0eee67ea314a3243952afd150cb4
|
||
|
|
||
|
Index: src/BulletSoftBody/btSoftBodyHelpers.h
|
||
|
--- src/BulletSoftBody/btSoftBodyHelpers.h.orig
|
||
|
+++ src/BulletSoftBody/btSoftBodyHelpers.h
|
||
|
@@ -17,7 +17,6 @@ subject to the following restrictions:
|
||
|
#define BT_SOFT_BODY_HELPERS_H
|
||
|
|
||
|
#include "btSoftBody.h"
|
||
|
-#include "../../examples/CommonInterfaces/CommonFileIOInterface.h"
|
||
|
#include <fstream>
|
||
|
#include <string>
|
||
|
//
|
||
|
@@ -148,8 +147,6 @@ struct btSoftBodyHelpers
|
||
|
static void writeObj(const char* file, const btSoftBody* psb);
|
||
|
|
||
|
static void writeState(const char* file, const btSoftBody* psb);
|
||
|
-
|
||
|
- static std::string loadDeformableState(btAlignedObjectArray<btVector3>& qs, btAlignedObjectArray<btVector3>& vs, const char* filename, CommonFileIOInterface* fileIO);
|
||
|
|
||
|
static void getBarycentricWeights(const btVector3& a, const btVector3& b, const btVector3& c, const btVector3& d, const btVector3& p, btVector4& bary);
|
||
|
|