Parcourir la source

Updated builds.

Mr.doob il y a 6 ans
Parent
commit
c5871facb8
3 fichiers modifiés avec 84 ajouts et 80 suppressions
  1. 2 0
      build/three.js
  2. 80 80
      build/three.min.js
  3. 2 0
      build/three.module.js

+ 2 - 0
build/three.js

@@ -14196,6 +14196,8 @@
 
 
 		intersectsSprite: function ( sprite ) {
 		intersectsSprite: function ( sprite ) {
 
 
+			if ( _sphere === undefined ) _sphere = new Sphere();
+
 			_sphere.center.set( 0, 0, 0 );
 			_sphere.center.set( 0, 0, 0 );
 			_sphere.radius = 0.7071067811865476;
 			_sphere.radius = 0.7071067811865476;
 			_sphere.applyMatrix4( sprite.matrixWorld );
 			_sphere.applyMatrix4( sprite.matrixWorld );

Fichier diff supprimé car celui-ci est trop grand
+ 80 - 80
build/three.min.js


+ 2 - 0
build/three.module.js

@@ -14190,6 +14190,8 @@ Object.assign( Frustum.prototype, {
 
 
 	intersectsSprite: function ( sprite ) {
 	intersectsSprite: function ( sprite ) {
 
 
+		if ( _sphere === undefined ) _sphere = new Sphere();
+
 		_sphere.center.set( 0, 0, 0 );
 		_sphere.center.set( 0, 0, 0 );
 		_sphere.radius = 0.7071067811865476;
 		_sphere.radius = 0.7071067811865476;
 		_sphere.applyMatrix4( sprite.matrixWorld );
 		_sphere.applyMatrix4( sprite.matrixWorld );

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff