added fracture scene .bullet file (doesn't work well yet)

added tetrahedral mesh test scene
expose b3Config as member variable for demos.
move a 'glFlush' out of the innerloop (render performance)
SSE -> SSE2 in premake
fix crash in broadphase (when no aabb's exist)
This commit is contained in:
erwin coumans
2013-07-30 12:37:16 -07:00
parent 3ccc9680a1
commit 2793a174c6
12 changed files with 309 additions and 28 deletions

View File

@@ -4,6 +4,7 @@
#include "Bullet3OpenCL/Initialize/b3OpenCLUtils.h"
#include "Bullet3OpenCL/ParallelPrimitives/b3OpenCLArray.h"
#include "Bullet3Common/b3Vector3.h"
#include "Bullet3OpenCL/RigidBody/b3Config.h"
struct GpuRigidBodyDemoInternalData
{
@@ -30,6 +31,7 @@ struct GpuRigidBodyDemoInternalData
int m_pickFixedBody;
int m_pickGraphicsShapeIndex;
int m_pickGraphicsShapeInstance;
b3Config m_config;
GpuRigidBodyDemoInternalData()
:m_instancePosOrnColor(0),