disable dead code
This commit is contained in:
@@ -199,7 +199,7 @@ void MultiThreadedDemo::createSceneObjects()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
if ( false )
|
if ( false )
|
||||||
{
|
{
|
||||||
// destroyer ball
|
// destroyer ball
|
||||||
@@ -211,6 +211,7 @@ void MultiThreadedDemo::createSceneObjects()
|
|||||||
btRigidBody* ballBody = localCreateRigidBody( 10000.f, sphereTrans, ball );
|
btRigidBody* ballBody = localCreateRigidBody( 10000.f, sphereTrans, ball );
|
||||||
ballBody->setLinearVelocity( btVector3( 0, 0, -10 ) );
|
ballBody->setLinearVelocity( btVector3( 0, 0, -10 ) );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
m_guiHelper->autogenerateGraphicsObjects( m_dynamicsWorld );
|
m_guiHelper->autogenerateGraphicsObjects( m_dynamicsWorld );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user