Detail level 8 crashed my computer. How about 6...

This commit is contained in:
Tyler Hallada 2019-02-04 23:47:45 -05:00
parent 3b75f81d49
commit 1743145944

View File

@ -6,7 +6,7 @@ const scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera(50, window.innerWidth / window.innerHeight, 0.1, 1000); var camera = new THREE.PerspectiveCamera(50, window.innerWidth / window.innerHeight, 0.1, 1000);
console.time("init geo"); console.time("init geo");
var geometry = new THREE.IcosahedronGeometry(10, 8); var geometry = new THREE.IcosahedronGeometry(10, 6);
console.timeEnd("init geo"); console.timeEnd("init geo");
console.time("Hexsphere"); console.time("Hexsphere");