move OpenCL initialization for the unit tests in a shared header file, and support some basic command-line arguments
--cl_device=1 --cl_platform=1 --allow_opencl_cpu add chaindemo, test for mass ratios restore sleeping/activation mode in featherstone demo Use _VARIADIC_MAX=10 to avoid Google Test issues with Visual Studio 2012, thanks to Mobeen for the report Enable verbose printf for unit tests
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "../bullet2/RagdollDemo/RagdollDemo.h"
|
||||
#include "../bullet2/LuaDemo/LuaDemo.h"
|
||||
|
||||
#include "../bullet2/ChainDemo/ChainDemo.h"
|
||||
|
||||
struct BulletDemoEntry
|
||||
{
|
||||
@@ -24,6 +24,7 @@ static BulletDemoEntry allDemos[]=
|
||||
|
||||
//{"emptydemo",EmptyBulletDemo::MyCreateFunc},
|
||||
{"BasicDemo",BasicDemo::MyCreateFunc},
|
||||
//{"ChainDemo",ChainDemo::MyCreateFunc},
|
||||
{"HingeDemo",HingeDemo::MyCreateFunc},
|
||||
{"Ragdoll",RagDollDemo::MyCreateFunc},
|
||||
{"MultiBody1",FeatherstoneDemo1::MyCreateFunc},
|
||||
|
||||
Reference in New Issue
Block a user