1 /**
  2  * @author mrdoob / http://mrdoob.com/
  3  * @author alteredq / http://alteredqualia.com/
  4  * @author mikael emtinger / http://gomo.se/
  5  */
  6 
  7 /**@constructor*/
  8 THREE.Mesh = function ( geometry, material ) {
  9 
 10 	THREE.Object3D.call( this );
 11 
 12 	this.geometry = geometry;
 13 	this.material = ( material !== undefined ) ? material : new THREE.MeshBasicMaterial( { color: Math.random() * 0xffffff, wireframe: true } );
 14 
 15 	if ( this.geometry ) {
 16 
 17 		// calc bound radius
 18 
 19 		if ( this.geometry.boundingSphere === null ) {
 20 
 21 			this.geometry.computeBoundingSphere();
 22 
 23 		}
 24 
 25 		this.boundRadius = geometry.boundingSphere.radius;
 26 
 27 
 28 		// setup morph targets
 29 
 30 		if ( this.geometry.morphTargets.length ) {
 31 
 32 			this.morphTargetBase = -1;
 33 			this.morphTargetForcedOrder = [];
 34 			this.morphTargetInfluences = [];
 35 			this.morphTargetDictionary = {};
 36 
 37 			for( var m = 0; m < this.geometry.morphTargets.length; m ++ ) {
 38 
 39 				this.morphTargetInfluences.push( 0 );
 40 				this.morphTargetDictionary[ this.geometry.morphTargets[ m ].name ] = m;
 41 
 42 			}
 43 
 44 		}
 45 
 46 	}
 47 
 48 }
 49 
 50 THREE.Mesh.prototype = Object.create( THREE.Object3D.prototype );
 51 
 52 THREE.Mesh.prototype.getMorphTargetIndexByName = function ( name ) {
 53 
 54 	if ( this.morphTargetDictionary[ name ] !== undefined ) {
 55 
 56 		return this.morphTargetDictionary[ name ];
 57 
 58 	}
 59 
 60 	console.log( "THREE.Mesh.getMorphTargetIndexByName: morph target " + name + " does not exist. Returning 0." );
 61 
 62 	return 0;
 63 
 64 };
 65 
 66 THREE.Mesh.prototype.clone = function ( object ) {
 67 
 68 	if ( object === undefined ) object = new THREE.Mesh( this.geometry, this.material );
 69 
 70 	THREE.Object3D.prototype.clone.call( this, object );
 71 
 72 	return object;
 73 
 74 };
 75 

nike free rn new balance hombre baratas cinturones gucci ugg rebajas cinturon gucci ray ban baratas nike cortez peuterey mujer christian louboutin madrid mbt zapatos gafas ray ban baratas mbt ofertas air max blancas mbt barcelona nike air max 90 woolrich barcelona nike mujer botas ugg gafas de sol carrera aratas air max 2016 baratas oakley baratas nike air max 2016

mbt skor nike sverige louboutin skor hollister sverige polo ralph lauren skjorta woolrich jacka dam canada goose jacka woolrich jacka ray ban rea canada goose rea michael kors rea new balance skor ralph lauren skjorta new balance rea uggs sverige lacoste rea christian louboutin skor moncler jacka nike shox barbour jacka uggs rea