lib/toxi/geom/mesh/meshCommon.js
function(mat,updateNormals) {
				if(updateNormals === undefined){
					updateNormals = true;
				}
				var l = this.vertices.length;
				for(var i=0;i<l;i++){
					var v = this.vertices[i];
					v.set(mat.applyTo(v));
				}
				if(updateNormals){
					this.computeFaceNormals();
				}
				return this;
			}
function(mat,updateNormals) {
				if(updateNormals === undefined){
					updateNormals = true;
				}
				var l = this.vertices.length;
				for(var i=0;i<l;i++){
					var v = this.vertices[i];
					v.set(mat.applyTo(v));
				}
				if(updateNormals){
					this.computeFaceNormals();
				}
				return this;
			}
function ( mat , updateNormals ) { if ( updateNormals === undefined ) { updateNormals = true ; } var l = this . vertices . length ; for ( var i = 0 ; i < l ; i ++ ) { var v = this . vertices [ i ] ; v . set ( mat . applyTo ( v ) ) ; } if ( updateNormals ) { this . computeFaceNormals ( ) ; } return this ; }
Applies the given matrix transform to all mesh vertices. If the
updateNormals flag is true, all face normals are updated automatically,
however vertex normals need a manual update.
@param mat
@param updateNormals
@return itself
Applies the given matrix transform to all mesh vertices . If the updateNormals flag is true all face normals are updated automatically however vertex normals need a manual update .