DistanceJoint constructor

DistanceJoint(IWorldPool argWorld, DistanceJointDef def)

Implementation

DistanceJoint(IWorldPool argWorld, final DistanceJointDef def)
    : _localAnchorA = def.localAnchorA.clone(),
      _localAnchorB = def.localAnchorB.clone(),
      super(argWorld, def) {
  _length = def.length;
  _frequencyHz = def.frequencyHz;
  _dampingRatio = def.dampingRatio;
}