lib/toxi/geom/mesh/meshCommon.js
function(vec) {
				var matchedVertex = -1;
				var l = this.vertices.length;
				for(var i=0;i<l;i++)
				{
					var vert = this.vertices[i];
					if(vert.equals(vec))
					{
						matchedVertex =i;
					}
				}
				return matchedVertex;

			}
function(vec) {
				var matchedVertex = -1;
				var l = this.vertices.length;
				for(var i=0;i<l;i++)
				{
					var vert = this.vertices[i];
					if(vert.equals(vec))
					{
						matchedVertex =i;
					}
				}
				return matchedVertex;

			}
function ( vec ) { var matchedVertex = - 1 ; var l = this . vertices . length ; for ( var i = 0 ; i < l ; i ++ ) { var vert = this . vertices [ i ] ; if ( vert . equals ( vec ) ) { matchedVertex = i ; } } return matchedVertex ; }
my own method to help
my own method to help