Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 123 bytes modified

beta.r3js.org
-=yb4f310 2018-03-07 08:15:58 +01:00
parent 6b71a16183
commit f5873ff7de
1 changed files with 1 additions and 6 deletions

View File

@ -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');
}
}