Selaa lähdekoodia

Updated builds.

Mr.doob 6 vuotta sitten
vanhempi
commit
c5871facb8
3 muutettua tiedostoa jossa 84 lisäystä ja 80 poistoa
  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 ) {
 
+			if ( _sphere === undefined ) _sphere = new Sphere();
+
 			_sphere.center.set( 0, 0, 0 );
 			_sphere.radius = 0.7071067811865476;
 			_sphere.applyMatrix4( sprite.matrixWorld );

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 80 - 80
build/three.min.js


+ 2 - 0
build/three.module.js

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

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä