Update: CC - Entity Loaded - Moorcow (gr0qs6v7dd.js) 15 bytes modified
parent
71620bbe76
commit
849df89303
|
@ -42,10 +42,12 @@ var scene = GameLib.EntityManager.Instance.findComponentById('lpdxa66480');
|
||||||
var i = 0;
|
var i = 0;
|
||||||
var tempTree = null;
|
var tempTree = null;
|
||||||
|
|
||||||
|
var trees = [];
|
||||||
|
|
||||||
for (i = 1; i <= 10; i += 1) {
|
for (i = 1; i <= 10; i += 1) {
|
||||||
tempTree = treeLarge.cloneInstance();
|
tempTree = treeLarge.cloneInstance();
|
||||||
tempTree.position.x = Math.cos(i) * 50;
|
tempTree.position.x = Math.cos(i) * 50;
|
||||||
//tempTree.position.z = -1 * Math.cos(i) * 60;
|
tempTree.position.z = -1 * Math.sin(i) * 60;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = -(Math.PI); i <= (Math.PI); i += 0.4) {
|
for (i = -(Math.PI); i <= (Math.PI); i += 0.4) {
|
||||||
|
|
Loading…
Reference in New Issue