added gpudemo
This commit is contained in:
17
demo/donttouch/btCpuDynamicsWorld.cpp
Normal file
17
demo/donttouch/btCpuDynamicsWorld.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "btCpuDynamicsWorld.h"
|
||||
|
||||
#include "btBulletDynamicsCommon.h"
|
||||
|
||||
btCpuDynamicsWorld::btCpuDynamicsWorld()
|
||||
:btDiscreteDynamicsWorld(
|
||||
new btCollisionDispatcher(new btDefaultCollisionConfiguration()),
|
||||
new btDbvtBroadphase(),new btSequentialImpulseConstraintSolver(),
|
||||
new btDefaultCollisionConfiguration()//todo: remove this!
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
btCpuDynamicsWorld::~btCpuDynamicsWorld()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user