Răsfoiți Sursa

Updated builds.

Mr.doob 11 ani în urmă
părinte
comite
2a9a0f228d
2 a modificat fișierele cu 1 adăugiri și 4 ștergeri
  1. 1 2
      build/three.js
  2. 0 2
      build/three.min.js

+ 1 - 2
build/three.js

@@ -15516,7 +15516,6 @@ THREE.ParticleSystem = function ( geometry, material ) {
 	this.material = material !== undefined ? material : new THREE.ParticleSystemMaterial( { color: Math.random() * 0xffffff } );
 
 	this.sortParticles = false;
-	this.frustumCulled = false;
 
 };
 
@@ -24105,7 +24104,7 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 			if ( object.visible ) {
 
-				if ( ! ( object instanceof THREE.Mesh || object instanceof THREE.ParticleSystem ) || ! ( object.frustumCulled ) || _frustum.intersectsObject( object ) ) {
+				if ( object.frustumCulled === false || _frustum.intersectsObject( object ) === true ) {
 
 					setupMatrices( object, camera );
 

Fișier diff suprimat deoarece este prea mare
+ 0 - 2
build/three.min.js


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff