lib/toxi/geom/mesh/VertexSelector.js
function() {
        var newSel = [];
        var vertices = this.mesh.getVertices();
        var l = vertices.length;
        for (var i=0;i<l;i++) {
			var v = vertices[i];
            if (this.selection.indexOf(v) < 0 ) {
                newSel.push(v);
            }
        }
        this.selection = newSel;
        return this;
    }
function() {
        var newSel = [];
        var vertices = this.mesh.getVertices();
        var l = vertices.length;
        for (var i=0;i<l;i++) {
			var v = vertices[i];
            if (this.selection.indexOf(v) < 0 ) {
                newSel.push(v);
            }
        }
        this.selection = newSel;
        return this;
    }
function ( ) { var newSel = [ ] ; var vertices = this . mesh . getVertices ( ) ; var l = vertices . length ; for ( var i = 0 ; i < l ; i ++ ) { var v = vertices [ i ] ; if ( this . selection . indexOf ( v ) < 0 ) { newSel . push ( v ) ; } } this . selection = newSel ; return this ; }
Creates a new selection of all vertices NOT currently selected.
@return itself
Creates a new selection of all vertices NOT currently selected .