diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 73cf536..24e11b7 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1451,20 +1451,15 @@ for (var x = -50; x < 50; x += 10) { type = 1; } - material = materialTreesAndRocks.clone(); - mesh.materials = [material]; + mesh.materials = [materialTreesAndRocks]; mesh.position.x = x; mesh.position.z = z; mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; mesh.rotation.z = 0; - mesh.scale.x = 5; - mesh.scale.y = 5; - mesh.scale.z = 5; mesh.updateInstance('materials'); mesh.updateInstance('position'); mesh.updateInstance('rotation'); - mesh.updateInstance('scale'); } }