b){if(void0!==b)returnconsole.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;returnthis},addScalar:function(a){this.x+=a;this.y+=a;returnthis},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;returnthis},sub:function(a,b){if(void0!==b)returnconsole.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;returnthis},
b){if(void0!==b)returnconsole.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;returnthis},addScalar:function(a){this.x+=a;this.y+=a;returnthis},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;returnthis},sub:function(a,b){if(void0!==b)returnconsole.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;returnthis},
THREE.Vector3.prototype={constructor:THREE.Vector3,set:function(a,b,c){this.x=a;this.y=b;this.z=c;returnthis},setX:function(a){this.x=a;returnthis},setY:function(a){this.y=a;returnthis},setZ:function(a){this.z=a;returnthis},setComponent:function(a,b){switch(a){case0:this.x=b;break;case1:this.y=b;break;case2:this.z=b;break;default:throwError("index is out of range: "+a);}},getComponent:function(a){switch(a){case0:returnthis.x;case1:returnthis.y;case2:returnthis.z;default:throwError("index is out of range: "+
THREE.Vector3.prototype={constructor:THREE.Vector3,set:function(a,b,c){this.x=a;this.y=b;this.z=c;returnthis},setX:function(a){this.x=a;returnthis},setY:function(a){this.y=a;returnthis},setZ:function(a){this.z=a;returnthis},setComponent:function(a,b){switch(a){case0:this.x=b;break;case1:this.y=b;break;case2:this.z=b;break;default:throwError("index is out of range: "+a);}},getComponent:function(a){switch(a){case0:returnthis.x;case1:returnthis.y;case2:returnthis.z;default:throwError("index is out of range: "+
a);}},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;returnthis},add:function(a,b){if(void0!==b)returnconsole.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;returnthis},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;returnthis},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;returnthis},sub:function(a,b){if(void0!==b)returnconsole.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),
a);}},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;returnthis},add:function(a,b){if(void0!==b)returnconsole.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;returnthis},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;returnthis},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;returnthis},sub:function(a,b){if(void0!==b)returnconsole.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),
this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;returnthis},subScalar:function(a){this.x-=a;this.y-=a;this.z-=a;returnthis},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;returnthis},multiply:function(a,b){if(void0!==b)returnconsole.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(a,b);this.x*=a.x;this.y*=a.y;this.z*=a.z;returnthis},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=
this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;returnthis},subScalar:function(a){this.x-=a;this.y-=a;this.z-=a;returnthis},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;returnthis},multiply:function(a,b){if(void0!==b)returnconsole.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(a,b);this.x*=a.x;this.y*=a.y;this.z*=a.z;returnthis},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=
this.ray.direction.set(b.x,b.y,.5).unproject(c).sub(this.ray.origin).normalize()):cinstanceofa.OrthographicCamera?(this.ray.origin.set(b.x,b.y,-1).unproject(c),this.ray.direction.set(0,0,-1).transformDirection(c.matrixWorld)):console.error("THREE.Raycaster: Unsupported camera type.")},intersectObject:function(a,e){varg=[];c(a,this,g,e);g.sort(b);returng},intersectObjects:function(a,e){varg=[];if(!1===Array.isArray(a))returnconsole.warn("THREE.Raycaster.intersectObjects: objects is not an Array."),
(this.ray.origin.setFromMatrixPosition(c.matrixWorld),this.ray.direction.set(b.x,b.y,.5).unproject(c).sub(this.ray.origin).normalize()):cinstanceofa.OrthographicCamera?(this.ray.origin.set(b.x,b.y,-1).unproject(c),this.ray.direction.set(0,0,-1).transformDirection(c.matrixWorld)):console.error("THREE.Raycaster: Unsupported camera type.")},intersectObject:function(a,e){varg=[];c(a,this,g,e);g.sort(b);returng},intersectObjects:function(a,e){varg=[];if(!1===Array.isArray(a))returnconsole.warn("THREE.Raycaster.intersectObjects: objects is not an Array."),