THREE.Object3D.prototype={constructor:THREE.Object3D,geteulerOrder(){console.warn("DEPRECATED: Object3D's .eulerOrder has been moved to Object3D's .rotation.order.");returnthis.rotation.order},seteulerOrder(a){console.warn("DEPRECATED: Object3D's .eulerOrder has been moved to Object3D's .rotation.order.");this.rotation.order=a},getuseQuaternion(){console.warn("DEPRECATED: Object3D's .useQuaternion has been removed. The library now uses quaternions by default.")},setuseQuaternion(a){console.warn("DEPRECATED: Object3D's .useQuaternion has been removed. The library now uses quaternions by default.")},
returnthis}}(),translate:function(a,b){console.warn("DEPRECATED: Object3D's .translate() has been removed. Use .translateOnAxis( axis, distance ) instead. Note args have been changed.");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(a===this)console.warn("THREE.Object3D.add: An object can't be added as a child of itself.");elseif(ainstanceofTHREE.Object3D){void0!==a.parent&&
getObjectById:function(a,b){for(varc=0,d=this.children.length;c<d;c++){vare=this.children[c];if(e.id===a||!0===b&&(e=e.getObjectById(a,b),void0!==e))returne}},getObjectByName:function(a,b){for(varc=0,d=this.children.length;c<d;c++){vare=this.children[c];if(e.name===a||!0===b&&(e=e.getObjectByName(a,b),void0!==e))returne}},getChildByName:function(a,b){console.warn("DEPRECATED: Object3D's .getChildByName() has been renamed to .getObjectByName().");returnthis.getObjectByName(a,b)},getDescendants:function(a){void0===
this.children.length;b<c;b++)this.children[b].traverse(a)},getObjectById:function(a,b){for(varc=0,d=this.children.length;c<d;c++){vare=this.children[c];if(e.id===a||!0===b&&(e=e.getObjectById(a,b),void0!==e))returne}},getObjectByName:function(a,b){for(varc=0,d=this.children.length;c<d;c++){vare=this.children[c];if(e.name===a||!0===b&&(e=e.getObjectByName(a,b),void0!==e))returne}},getChildByName:function(a,b){console.warn("DEPRECATED: Object3D's .getChildByName() has been renamed to .getObjectByName().");