From f5873ff7de0f0caac6ec89d9900f359e7225341d Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:15:58 +0100 Subject: [PATCH] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 123 bytes modified --- hv7vehw7se.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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'); } }