瀏覽代碼

Updated builds.

Mr.doob 11 年之前
父節點
當前提交
2a9a0f228d
共有 2 個文件被更改,包括 1 次插入4 次删除
  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.material = material !== undefined ? material : new THREE.ParticleSystemMaterial( { color: Math.random() * 0xffffff } );
 
 
 	this.sortParticles = false;
 	this.sortParticles = false;
-	this.frustumCulled = false;
 
 
 };
 };
 
 
@@ -24105,7 +24104,7 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 
 			if ( object.visible ) {
 			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 );
 					setupMatrices( object, camera );
 
 

文件差異過大導致無法顯示
+ 0 - 2
build/three.min.js


部分文件因文件數量過多而無法顯示