1 /**
  2  * @author mikael emtinger / http://gomo.se/
  3  * @author alteredq / http://alteredqualia.com/
  4  */
  5 
  6 /**@constructor*/
  7 THREE.Bone = function( belongsToSkin ) {
  8 
  9 	THREE.Object3D.call( this );
 10 
 11 	this.skin = belongsToSkin;
 12 	this.skinMatrix = new THREE.Matrix4();
 13 
 14 };
 15 
 16 THREE.Bone.prototype = Object.create( THREE.Object3D.prototype );
 17 
 18 THREE.Bone.prototype.update = function( parentSkinMatrix, forceUpdate ) {
 19 
 20 	// update local
 21 
 22 	if ( this.matrixAutoUpdate ) {
 23 
 24 		forceUpdate |= this.updateMatrix();
 25 
 26 	}
 27 
 28 	// update skin matrix
 29 
 30 	if ( forceUpdate || this.matrixWorldNeedsUpdate ) {
 31 
 32 		if( parentSkinMatrix ) {
 33 
 34 			this.skinMatrix.multiply( parentSkinMatrix, this.matrix );
 35 
 36 		} else {
 37 
 38 			this.skinMatrix.copy( this.matrix );
 39 
 40 		}
 41 
 42 		this.matrixWorldNeedsUpdate = false;
 43 		forceUpdate = true;
 44 
 45 	}
 46 
 47 	// update children
 48 
 49 	var child, i, l = this.children.length;
 50 
 51 	for ( i = 0; i < l; i ++ ) {
 52 
 53 		this.children[ i ].update( this.skinMatrix, forceUpdate );
 54 
 55 	}
 56 
 57 };
 58 
 59 

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