updated CMake build for btUniformScalingShape/btConvexInternalShape

This commit is contained in:
ejcoumans
2007-07-28 21:31:32 +00:00
parent 38b7f474c3
commit 871521dd6a
7 changed files with 75 additions and 5 deletions

View File

@@ -450,7 +450,7 @@ void DemoApplication::shootBox(const btVector3& destination)
startTransform.setIdentity();
btVector3 camPos = getCameraPosition();
startTransform.setOrigin(camPos);
//#define TEST_UNIFORM_SCALING_SHAPE 1
#define TEST_UNIFORM_SCALING_SHAPE 1
#ifdef TEST_UNIFORM_SCALING_SHAPE
btConvexShape* childShape = new btBoxShape(btVector3(1.f,1.f,1.f));
btUniformScalingShape* boxShape = new btUniformScalingShape(childShape,0.5f);