added basic serialization for several constraints including btPoint2PointConstraint, btHingeConstraint, btSliderConstraint, btConeTwistConstraint, btGeneric6DofConstraint
(no motor support or advanced settings yet) added btStaticPlaneShape serialization Added toggle in cmake for BenchmarksDemo to enable/disable graphics rendering
This commit is contained in:
@@ -33,7 +33,7 @@ struct btCollisionAlgorithmCreateFunc;
|
||||
class btDefaultCollisionConfiguration;
|
||||
|
||||
|
||||
#ifndef USE_GLUT_GRAPHICAL_BENCHMARK
|
||||
#ifndef USE_GRAPHICAL_BENCHMARK
|
||||
///empty placeholder
|
||||
class DemoApplication
|
||||
{
|
||||
@@ -59,13 +59,21 @@ public:
|
||||
|
||||
};
|
||||
///BenchmarkDemo is provides several performance tests
|
||||
class BenchmarkDemo : public DemoApplication
|
||||
#define PlatformDemoApplication DemoApplication
|
||||
#else //USE_GRAPHICAL_BENCHMARK
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include "Win32DemoApplication.h"
|
||||
#define PlatformDemoApplication Win32DemoApplication
|
||||
#else
|
||||
#include "GlutDemoApplication.h"
|
||||
class BenchmarkDemo : public GlutDemoApplication
|
||||
#define PlatformDemoApplication GlutDemoApplication
|
||||
#endif
|
||||
|
||||
#endif //USE_GRAPHICAL_BENCHMARK
|
||||
|
||||
|
||||
class BenchmarkDemo : public PlatformDemoApplication
|
||||
{
|
||||
|
||||
//keep the collision shapes, for deletion/cleanup
|
||||
|
||||
Reference in New Issue
Block a user