diff --git a/examples/SharedMemory/b3RobotSimulatorClientAPI_NoDirect.h b/examples/SharedMemory/b3RobotSimulatorClientAPI_NoDirect.h index f555859c6..0e80d3df6 100644 --- a/examples/SharedMemory/b3RobotSimulatorClientAPI_NoDirect.h +++ b/examples/SharedMemory/b3RobotSimulatorClientAPI_NoDirect.h @@ -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);