mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-25 10:10:57 +00:00
don't use empty frame for pose in sdf files
use hint for clang that if (0) is intentional
This commit is contained in:
@@ -230,7 +230,7 @@ void TestJointTorqueSetup::initPhysics()
|
||||
m_dynamicsWorld->setGravity(btVector3(0, 0, -10));
|
||||
|
||||
//////////////////////////////////////////////
|
||||
if (0) //numLinks > 0)
|
||||
if (/* DISABLES CODE */ (0)) //numLinks > 0)
|
||||
{
|
||||
btScalar q0 = 45.f * SIMD_PI / 180.f;
|
||||
if (!spherical)
|
||||
@@ -356,7 +356,7 @@ void TestJointTorqueSetup::initPhysics()
|
||||
void TestJointTorqueSetup::stepSimulation(float deltaTime)
|
||||
{
|
||||
//m_multiBody->addLinkForce(0,btVector3(100,100,100));
|
||||
if (0) //m_once)
|
||||
if (/* DISABLES CODE */ (0)) //m_once)
|
||||
{
|
||||
m_once = false;
|
||||
m_multiBody->addJointTorque(0, 10.0);
|
||||
|
||||
Reference in New Issue
Block a user