dist/melonjs.js
function removeShape(shape) {
         me.utils.array.remove(this.shapes, shape); // update the body bounds to take in account the removed shape

         this.updateBounds(); // return the length of the shape list

         return this.shapes.length;
       }
function removeShape(shape) {
         me.utils.array.remove(this.shapes, shape); // update the body bounds to take in account the removed shape

         this.updateBounds(); // return the length of the shape list

         return this.shapes.length;
       }
function removeShape ( shape ) { me . utils . array . remove ( this . shapes , shape ) ; // update the body bounds to take in account the removed shape this . updateBounds ( ) ; // return the length of the shape list return this . shapes . length ; }
remove the specified shape from the body shape list
@name removeShape
@memberOf me.Body
@public
@function
@param {me.Polygon|me.Line|me.Ellipse} shape a shape object
@return {Number} the shape array length
remove the specified shape from the body shape list