index.js
function (body) {
      if (!body) { return; }

      var idx = bodies.indexOf(body);
      if (idx < 0) { return; }

      bodies.splice(idx, 1);
      if (bodies.length === 0) {
        bounds.reset();
      }
      return true;
    }
function (body) {
      if (!body) { return; }

      var idx = bodies.indexOf(body);
      if (idx < 0) { return; }

      bodies.splice(idx, 1);
      if (bodies.length === 0) {
        bounds.reset();
      }
      return true;
    }
function ( body ) { if ( ! body ) { return ; } var idx = bodies . indexOf ( body ) ; if ( idx < 0 ) { return ; } bodies . splice ( idx , 1 ) ; if ( bodies . length === 0 ) { bounds . reset ( ) ; } return true ; }
Removes body from the system

@param {ngraph.physics.primitives.Body} body to remove

@returns {Boolean} true if body found and removed. falsy otherwise;
Removes body from the system