Detail level 8 crashed my computer. How about 6...
This commit is contained in:
parent
3b75f81d49
commit
1743145944
@ -6,7 +6,7 @@ const scene = new THREE.Scene();
|
||||
var camera = new THREE.PerspectiveCamera(50, window.innerWidth / window.innerHeight, 0.1, 1000);
|
||||
|
||||
console.time("init geo");
|
||||
var geometry = new THREE.IcosahedronGeometry(10, 8);
|
||||
var geometry = new THREE.IcosahedronGeometry(10, 6);
|
||||
console.timeEnd("init geo");
|
||||
|
||||
console.time("Hexsphere");
|
||||
|
Loading…
Reference in New Issue
Block a user