From dd444fc6c40126b0d08a1b1d2c657c7c8a3de958 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Tue, 5 Jun 2018 21:09:00 -0700 Subject: [PATCH] reshuffle args --- .../SharedMemory/b3RobotSimulatorClientAPI_NoDirect.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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);