Update: CC - Entity Loaded - Moorcow (gr0qs6v7dd.js) 338 bytes modified

beta.r3js.org
-=yb4f310 2017-11-08 16:13:12 +01:00
parent b07b838c4f
commit 0f6893c700
1 changed files with 22 additions and 4 deletions

View File

@ -100,10 +100,28 @@ for (i = 1; i <= 10; i += 1) {
for (i = -100; i <= 100; i += 20) {
// tempTree = treeMedium.cloneInstance();
// tempTree.position.x = i;
// tempTree.position.z = -80;
for (i = 1; i <= 10; i += 1) {
tempTree = treeSmall.clone();
tempTree.position.x = Math.cos(i) * 80;
tempTree.position.z = -1 * Math.sin(i) * 90;
if (i === 4) {
// tempTree.position.x = -31.69;
// tempTree.position.z = -32.32;
}
if (i === 5) {
// tempTree.position.x = 25.74;
// tempTree.position.z = -30.45;
}
if (i === 10) {
// tempTree.position.x = -58.74;
// tempTree.position.z = 23.25;
}
tempTree.updateInstance();
smallTrees.push(tempTree);
}