Lines 18-23
Link Here
|
18 |
#define _BT_SOFT_BODY_INTERNALS_H |
18 |
#define _BT_SOFT_BODY_INTERNALS_H |
19 |
|
19 |
|
20 |
#include "btSoftBody.h" |
20 |
#include "btSoftBody.h" |
|
|
21 |
#include <string.h> |
21 |
|
22 |
|
22 |
#include "LinearMath/btQuickprof.h" |
23 |
#include "LinearMath/btQuickprof.h" |
23 |
#include "BulletCollision/BroadphaseCollision/btBroadphaseInterface.h" |
24 |
#include "BulletCollision/BroadphaseCollision/btBroadphaseInterface.h" |
Lines 171-178
Link Here
|
171 |
template <typename T> |
172 |
template <typename T> |
172 |
static inline void ZeroInitialize(T& value) |
173 |
static inline void ZeroInitialize(T& value) |
173 |
{ |
174 |
{ |
174 |
static const T zerodummy; |
175 |
memset(&value,0,sizeof(T)); |
175 |
value=zerodummy; |
|
|
176 |
} |
176 |
} |
177 |
// |
177 |
// |
178 |
template <typename T> |
178 |
template <typename T> |