Просмотр исходного кода

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
Родитель
Сommit
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
		}