THREE.Object3D.prototype={constructor:THREE.Object3D,geteulerOrder(){console.warn("THREE.Object3D: .eulerOrder has been moved to .rotation.order.");returnthis.rotation.order},seteulerOrder(a){console.warn("THREE.Object3D: .eulerOrder has been moved to .rotation.order.");this.rotation.order=a},getuseQuaternion(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")},setuseQuaternion(a){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")},
returnthis}}(),translate:function(a,b){console.warn("THREE.Object3D: .translate() has been removed. Use .translateOnAxis( axis, distance ) instead.");returnthis.translateOnAxis(b,a)},translateX:function(){vara=newTHREE.Vector3(1,0,0);returnfunction(b){returnthis.translateOnAxis(a,b)}}(),translateY:function(){vara=newTHREE.Vector3(0,1,0);returnfunction(b){returnthis.translateOnAxis(a,b)}}(),translateZ:function(){vara=newTHREE.Vector3(0,0,1);returnfunction(b){returnthis.translateOnAxis(a,
b)}}(),localToWorld:function(a){returna.applyMatrix4(this.matrixWorld)},worldToLocal:function(){vara=newTHREE.Matrix4;returnfunction(b){returnb.applyMatrix4(a.getInverse(this.matrixWorld))}}(),lookAt:function(){vara=newTHREE.Matrix4;returnfunction(b){a.lookAt(b,this.position,this.up);this.quaternion.setFromRotationMatrix(a)}}(),add:function(a){if(1<arguments.length){for(varb=0;b<arguments.length;b++)this.add(arguments[b]);returnthis}if(a===this)returnconsole.error("THREE.Object3D.add: object can't be added as a child of itself.",
a),this;ainstanceofTHREE.Object3D?(void0!==a.parent&&a.parent.remove(a),a.parent=this,a.dispatchEvent({type:"added"}),this.children.push(a)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",a);returnthis},remove:function(a){if(1<arguments.length)for(varb=0;b<arguments.length;b++)this.remove(arguments[b]);b=this.children.indexOf(a);-1!==b&&(a.parent=void0,a.dispatchEvent({type:"removed"}),this.children.splice(b,1))},getChildByName:function(a){console.warn("THREE.Object3D: .getChildByName() has been renamed to .getObjectByName().");
getrenderDepth(){console.warn("THREE.Object3D: .renderDepth has been renamed to .renderOrder.");returnthis.renderOrder},setrenderDepth(a){console.warn("THREE.Object3D: .renderDepth has been renamed to .renderOrder.");this.renderOrder=a},applyMatrix:function(a){this.matrix.multiplyMatrices(a,this.matrix);this.matrix.decompose(this.position,this.quaternion,this.scale)},setRotationFromAxisAngle:function(a,b){this.quaternion.setFromAxisAngle(a,b)},setRotationFromEuler:function(a){this.quaternion.setFromEuler(a,
newTHREE.Vector3(0,0,1);returnfunction(b){returnthis.rotateOnAxis(a,b)}}(),translateOnAxis:function(){vara=newTHREE.Vector3;returnfunction(b,c){a.copy(b).applyQuaternion(this.quaternion);this.position.add(a.multiplyScalar(c));returnthis}}(),translate:function(a,b){console.warn("THREE.Object3D: .translate() has been removed. Use .translateOnAxis( axis, distance ) instead.");returnthis.translateOnAxis(b,a)},translateX:function(){vara=newTHREE.Vector3(1,0,0);returnfunction(b){returnthis.translateOnAxis(a,
this.up);this.quaternion.setFromRotationMatrix(a)}}(),add:function(a){if(1<arguments.length){for(varb=0;b<arguments.length;b++)this.add(arguments[b]);returnthis}if(a===this)returnconsole.error("THREE.Object3D.add: object can't be added as a child of itself.",a),this;ainstanceofTHREE.Object3D?(void0!==a.parent&&a.parent.remove(a),a.parent=this,a.dispatchEvent({type:"added"}),this.children.push(a)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",a);returnthis},remove:function(a){if(1<
arguments.length)for(varb=0;b<arguments.length;b++)this.remove(arguments[b]);b=this.children.indexOf(a);-1!==b&&(a.parent=void0,a.dispatchEvent({type:"removed"}),this.children.splice(b,1))},getChildByName:function(a){console.warn("THREE.Object3D: .getChildByName() has been renamed to .getObjectByName().");returnthis.getObjectByName(a)},getObjectById:function(a){returnthis.getObjectByProperty("id",a)},getObjectByName:function(a){returnthis.getObjectByProperty("name",a)},getObjectByProperty:function(a,
THREE.Face4=function(a,b,c,d,e,f,g){console.warn("THREE.Face4 has been removed. A THREE.Face3 will be created instead.");returnnewTHREE.Face3(a,b,c,e,f,g)};THREE.BufferAttribute=function(a,b){this.array=a;this.itemSize=b;this.needsUpdate=!1};
THREE.BufferAttribute.prototype={constructor:THREE.BufferAttribute,getlength(){console.warn("THREE.BufferAttribute: .length has been renamed to .count.");returnthis.count},getcount(){returnthis.array.length/this.itemSize},copyAt:function(a,b,c){a*=this.itemSize;c*=b.itemSize;for(vard=0,e=this.itemSize;d<e;d++)this.array[a+d]=b.array[c+d];returnthis},copyArray:function(a){this.array.set(a);returnthis},copyColorsArray:function(a){for(varb=this.array,c=0,d=0,e=a.length;d<e;d++){varf=a[d];void0===