cleanup of gpu rigid body (removed all Adl stuff)

This commit is contained in:
erwin coumans
2013-03-15 16:27:23 -07:00
parent 39dbb51f68
commit 9a7414f4e9
19 changed files with 1383 additions and 23 deletions

View File

@@ -0,0 +1,34 @@
#ifndef BT_CONFIG_H
#define BT_CONFIG_H
struct btConfig
{
int m_maxConvexBodies;
int m_maxConvexShapes;
int m_maxBroadphasePairs;
int m_maxVerticesPerFace;
int m_maxFacesPerShape;
int m_maxConvexVertices;
int m_maxConvexIndices;
int m_maxConvexUniqueEdges;
int m_maxCompoundChildShapes;
btConfig()
:m_maxConvexBodies(128*1024),
m_maxConvexShapes(8192),
m_maxVerticesPerFace(64),
m_maxFacesPerShape(64),
m_maxConvexVertices(8192),
m_maxConvexIndices(8192),
m_maxConvexUniqueEdges(8192),
m_maxCompoundChildShapes(8192)//??
{
m_maxBroadphasePairs = 16*m_maxConvexBodies;
}
};
#endif//BT_CONFIG_H