From 90643bec7568f989ac909a4ad362efd955541392 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Sun, 16 Sep 2012 19:26:27 +0000 Subject: [PATCH] fix problem with btCylinderShape creation in RollingFrictionDemo --- Demos/RollingFrictionDemo/RollingFrictionDemo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demos/RollingFrictionDemo/RollingFrictionDemo.cpp b/Demos/RollingFrictionDemo/RollingFrictionDemo.cpp index 1e11fc524..6a1bb73a7 100644 --- a/Demos/RollingFrictionDemo/RollingFrictionDemo.cpp +++ b/Demos/RollingFrictionDemo/RollingFrictionDemo.cpp @@ -180,8 +180,8 @@ void RollingFrictionDemo::initPhysics() new btConeShape(0.5,1), new btConeShapeX(0.5,1), new btConeShapeZ(0.5,1), - new btCylinderShape(btVector3(0.5,1,0.1)), - new btCylinderShapeX(btVector3(1,0.5,0.1)), + new btCylinderShape(btVector3(0.5,1,0.5)), + new btCylinderShapeX(btVector3(1,0.5,0.5)), new btCylinderShapeZ(btVector3(0.5,0.5,1)), }; for (int i=0;i