You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
911 B
29 lines
911 B
/*
|
|
* This file is part of MXE. See LICENSE.md for licensing information.
|
|
*/
|
|
|
|
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
|
#pragma GCC diagnostic ignored "-Wunused-variable"
|
|
|
|
#include <btBulletDynamicsCommon.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
btBroadphaseInterface* broadphase = new btDbvtBroadphase();
|
|
btDefaultCollisionConfiguration* collisionConfiguration = new btDefaultCollisionConfiguration();
|
|
btCollisionDispatcher* dispatcher = new btCollisionDispatcher(collisionConfiguration);
|
|
btSequentialImpulseConstraintSolver* solver = new btSequentialImpulseConstraintSolver();
|
|
btDiscreteDynamicsWorld* dynamicsWorld = new btDiscreteDynamicsWorld(dispatcher, broadphase, solver, collisionConfiguration);
|
|
|
|
(void)argc;
|
|
(void)argv;
|
|
|
|
delete dynamicsWorld;
|
|
delete solver;
|
|
delete dispatcher;
|
|
delete collisionConfiguration;
|
|
delete broadphase;
|
|
|
|
return 0;
|
|
}
|