Pārlūkot izejas kodu

Updated builds.

Mr.doob 6 gadi atpakaļ
vecāks
revīzija
c5871facb8
3 mainītis faili ar 84 papildinājumiem un 80 dzēšanām
  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 );

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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 );

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels