Return a string representation
| 328 | |
| 329 | // Return a string representation |
| 330 | std::string SliderJoint::to_string() const { |
| 331 | return "SliderJoint{ lowerLimit=" + std::to_string(mWorld.mSliderJointsComponents.getLowerLimit(mEntity)) + ", upperLimit=" + std::to_string(mWorld.mSliderJointsComponents.getUpperLimit(mEntity)) + |
| 332 | "localAnchorPointBody1=" + mWorld.mSliderJointsComponents.getLocalAnchorPointBody1(mEntity).to_string() + ", localAnchorPointBody2=" + |
| 333 | mWorld.mSliderJointsComponents.getLocalAnchorPointBody2(mEntity).to_string() + ", sliderAxisBody1=" + mWorld.mSliderJointsComponents.getSliderAxisBody1(mEntity).to_string() + |
| 334 | ", initOrientationDifferenceInv=" + |
| 335 | mWorld.mSliderJointsComponents.getInitOrientationDifferenceInv(mEntity).to_string() + ", motorSpeed=" + std::to_string(getMotorSpeed()) + |
| 336 | ", maxMotorForce=" + std::to_string(getMaxMotorForce()) + ", isLimitEnabled=" + |
| 337 | (mWorld.mSliderJointsComponents.getIsLimitEnabled(mEntity) ? "true" : "false") + ", isMotorEnabled=" + (mWorld.mSliderJointsComponents.getIsMotorEnabled(mEntity) ? "true" : "false") + "}"; |
| 338 | } |
nothing calls this directly
no test coverage detected