瀏覽代碼

don't compute the bounding sphere.

seems to improve performance and i don't quite know what it's used for
anyway.
Lucas Stadler 12 年之前
父節點
當前提交
0bdd51934b
共有 1 個文件被更改,包括 0 次插入 和 1 次删除
  1. 0 1
      js/pixl/public/thrixl.html

+ 0 - 1
js/pixl/public/thrixl.html

121
				}
121
				}
122
			}
122
			}
123
123
124
			chunkGeometry.computeBoundingSphere();
125
			var material = new THREE.MeshBasicMaterial({color: 0x00ff00});
124
			var material = new THREE.MeshBasicMaterial({color: 0x00ff00});
126
			return new THREE.Mesh(chunkGeometry, material);
125
			return new THREE.Mesh(chunkGeometry, material);
127
		}
126
		}