lib/Oimo.js
function(){
        var prev=this.s1Link.prev;
        var next=this.s1Link.next;
        if(prev!==null)prev.next=next;
        if(next!==null)next.prev=prev;
        if(this.shape1.contactLink==this.s1Link)this.shape1.contactLink=next;
        this.s1Link.prev=null;
        this.s1Link.next=null;
        this.s1Link.shape=null;
        this.s1Link.body=null;
        this.shape1.numContacts--;

        prev=this.s2Link.prev;
        next=this.s2Link.next;
        if(prev!==null)prev.next=next;
        if(next!==null)next.prev=prev;
        if(this.shape2.contactLink==this.s2Link)this.shape2.contactLink=next;
        this.s2Link.prev=null;
        this.s2Link.next=null;
        this.s2Link.shape=null;
        this.s2Link.body=null;
        this.shape2.numContacts--;

        prev=this.b1Link.prev;
        next=this.b1Link.next;
        if(prev!==null)prev.next=next;
        if(next!==null)next.prev=prev;
        if(this.body1.contactLink==this.b1Link)this.body1.contactLink=next;
        this.b1Link.prev=null;
        this.b1Link.next=null;
        this.b1Link.shape=null;
        this.b1Link.body=null;
        this.body1.numContacts--;

        prev=this.b2Link.prev;
        next=this.b2Link.next;
        if(prev!==null)prev.next=next;
        if(next!==null)next.prev=prev;
        if(this.body2.contactLink==this.b2Link)this.body2.contactLink=next;
        this.b2Link.prev=null;
        this.b2Link.next=null;
        this.b2Link.shape=null;
        this.b2Link.body=null;
        this.body2.numContacts--;

        this.manifold.body1=null;
        this.manifold.body2=null;
        this.constraint.body1=null;
        this.constraint.body2=null;
        this.constraint.detach();

        this.shape1=null;
        this.shape2=null;
        this.body1=null;
        this.body2=null;
    }
function(){
        var prev=this.s1Link.prev;
        var next=this.s1Link.next;
        if(prev!==null)prev.next=next;
        if(next!==null)next.prev=prev;
        if(this.shape1.contactLink==this.s1Link)this.shape1.contactLink=next;
        this.s1Link.prev=null;
        this.s1Link.next=null;
        this.s1Link.shape=null;
        this.s1Link.body=null;
        this.shape1.numContacts--;

        prev=this.s2Link.prev;
        next=this.s2Link.next;
        if(prev!==null)prev.next=next;
        if(next!==null)next.prev=prev;
        if(this.shape2.contactLink==this.s2Link)this.shape2.contactLink=next;
        this.s2Link.prev=null;
        this.s2Link.next=null;
        this.s2Link.shape=null;
        this.s2Link.body=null;
        this.shape2.numContacts--;

        prev=this.b1Link.prev;
        next=this.b1Link.next;
        if(prev!==null)prev.next=next;
        if(next!==null)next.prev=prev;
        if(this.body1.contactLink==this.b1Link)this.body1.contactLink=next;
        this.b1Link.prev=null;
        this.b1Link.next=null;
        this.b1Link.shape=null;
        this.b1Link.body=null;
        this.body1.numContacts--;

        prev=this.b2Link.prev;
        next=this.b2Link.next;
        if(prev!==null)prev.next=next;
        if(next!==null)next.prev=prev;
        if(this.body2.contactLink==this.b2Link)this.body2.contactLink=next;
        this.b2Link.prev=null;
        this.b2Link.next=null;
        this.b2Link.shape=null;
        this.b2Link.body=null;
        this.body2.numContacts--;

        this.manifold.body1=null;
        this.manifold.body2=null;
        this.constraint.body1=null;
        this.constraint.body2=null;
        this.constraint.detach();

        this.shape1=null;
        this.shape2=null;
        this.body1=null;
        this.body2=null;
    }
function ( ) { var prev = this . s1Link . prev ; var next = this . s1Link . next ; if ( prev !== null ) prev . next = next ; if ( next !== null ) next . prev = prev ; if ( this . shape1 . contactLink == this . s1Link ) this . shape1 . contactLink = next ; this . s1Link . prev = null ; this . s1Link . next = null ; this . s1Link . shape = null ; this . s1Link . body = null ; this . shape1 . numContacts -- ; prev = this . s2Link . prev ; next = this . s2Link . next ; if ( prev !== null ) prev . next = next ; if ( next !== null ) next . prev = prev ; if ( this . shape2 . contactLink == this . s2Link ) this . shape2 . contactLink = next ; this . s2Link . prev = null ; this . s2Link . next = null ; this . s2Link . shape = null ; this . s2Link . body = null ; this . shape2 . numContacts -- ; prev = this . b1Link . prev ; next = this . b1Link . next ; if ( prev !== null ) prev . next = next ; if ( next !== null ) next . prev = prev ; if ( this . body1 . contactLink == this . b1Link ) this . body1 . contactLink = next ; this . b1Link . prev = null ; this . b1Link . next = null ; this . b1Link . shape = null ; this . b1Link . body = null ; this . body1 . numContacts -- ; prev = this . b2Link . prev ; next = this . b2Link . next ; if ( prev !== null ) prev . next = next ; if ( next !== null ) next . prev = prev ; if ( this . body2 . contactLink == this . b2Link ) this . body2 . contactLink = next ; this . b2Link . prev = null ; this . b2Link . next = null ; this . b2Link . shape = null ; this . b2Link . body = null ; this . body2 . numContacts -- ; this . manifold . body1 = null ; this . manifold . body2 = null ; this . constraint . body1 = null ; this . constraint . body2 = null ; this . constraint . detach ( ) ; this . shape1 = null ; this . shape2 = null ; this . body1 = null ; this . body2 = null ; }
Detach the contact from the shapes.
Detach the contact from the shapes .