From bc2a5373c0384525374855a7707d09dd951d2330 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:18:19 +0100 Subject: [PATCH] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 34 bytes modified --- hv7vehw7se.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 9942ebd..06bfe33 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1452,11 +1452,12 @@ for (var x = -50; x < 50; x += 20) { } mesh.materials = [materialTreesAndRocks]; - mesh.position.x = x; - mesh.position.z = z; + mesh.position.x = x * Math.random(); + mesh.position.z = z * Math.random(); mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; mesh.rotation.z = 0; + mesh.updateInstance('materials'); mesh.updateInstance('position'); mesh.updateInstance('rotation');