reshuffle args

This commit is contained in:
Erwin Coumans 2018-06-05 21:09:00 -07:00
parent cb6d76d6b5
commit dd444fc6c4

View File

@ -388,9 +388,10 @@ struct b3RobotSimulatorCreateMultiBodyArgs
int m_useMaximalCoordinates;
b3RobotSimulatorCreateMultiBodyArgs()
: m_numLinks(0), m_baseMass(0), m_baseCollisionShapeIndex(-1), m_baseVisualShapeIndex(-1), m_useMaximalCoordinates(0),
m_linkMasses(NULL),
m_linkCollisionShapeIndices(NULL),
: m_baseMass(0), m_baseCollisionShapeIndex(-1), m_baseVisualShapeIndex(-1),
m_numLinks(0),
m_linkMasses(NULL),
m_linkCollisionShapeIndices(NULL),
m_linkVisualShapeIndices(NULL),
m_linkPositions(NULL),
m_linkOrientations(NULL),
@ -398,7 +399,8 @@ struct b3RobotSimulatorCreateMultiBodyArgs
m_linkInertialFrameOrientations(NULL),
m_linkParentIndices(NULL),
m_linkJointTypes(NULL),
m_linkJointAxes(NULL)
m_linkJointAxes(NULL),
m_useMaximalCoordinates(0)
{
m_basePosition.setValue(0,0,0);
m_baseOrientation.setValue(0,0,0,1);