Added a possibility to build appGpu2dDemo with CUDA solver.
It is disabled by default, see Demos/Gpu2dDemo/btGpuDemoDynamicsWorld.h for instructions how to enable it Cleaned up Extras/CUDA folder and libbulletcuda project
This commit is contained in:
@@ -21,8 +21,8 @@ subject to the following restrictions:
|
||||
|
||||
|
||||
#ifdef BT_USE_CUDA
|
||||
#include "btCudaDemoPairCache.h"
|
||||
#include <vector_types.h>
|
||||
//#include "btCudaDemoPairCache.h"
|
||||
//#include <vector_types.h>
|
||||
#endif //BT_USE_CUDA
|
||||
|
||||
class btBroadphaseInterface;
|
||||
@@ -88,7 +88,7 @@ class BasicDemo : public GlutDemoApplication
|
||||
void DrawConstraintInfo();
|
||||
void outputDebugInfo(int & xOffset,int & yStart, int yIncr);
|
||||
virtual void renderme();
|
||||
|
||||
void addCollisionShape(btCollisionShape* pShape) { m_collisionShapes.push_back(pShape); }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user