Update: CC - Entity Loaded - Moorcow (gr0qs6v7dd.js) 338 bytes modified
parent
b07b838c4f
commit
0f6893c700
|
@ -100,10 +100,28 @@ for (i = 1; i <= 10; i += 1) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for (i = -100; i <= 100; i += 20) {
|
for (i = 1; i <= 10; i += 1) {
|
||||||
// tempTree = treeMedium.cloneInstance();
|
tempTree = treeSmall.clone();
|
||||||
// tempTree.position.x = i;
|
tempTree.position.x = Math.cos(i) * 80;
|
||||||
// tempTree.position.z = -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue