improved performance, and allowed custom friction and contact solver models. See CcdPhysicsDemo #define USER_DEFINED_FRICTION_MODEL
This commit is contained in:
@@ -23,11 +23,11 @@ subject to the following restrictions:
|
||||
#include "CollisionShapes/CollisionShape.h"
|
||||
#include "CollisionShapes/BoxShape.h"
|
||||
#include "GL_ShapeDrawer.h"
|
||||
|
||||
#include "quickprof.h"
|
||||
#include "BMF_Api.h"
|
||||
|
||||
int numObjects = 0;
|
||||
const int maxNumObjects = 4096;
|
||||
const int maxNumObjects = 16384;
|
||||
DefaultMotionState ms[maxNumObjects];
|
||||
CcdPhysicsController* physObjects[maxNumObjects];
|
||||
SimdTransform startTransforms[maxNumObjects];
|
||||
@@ -889,6 +889,7 @@ void DemoApplication::renderme()
|
||||
BMF_DrawString(BMF_GetFont(BMF_kHelvetica10),buf);
|
||||
yStart += yIncr;
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user