Update: CC - Entity Loaded - Moorcow (gr0qs6v7dd.js) 15 bytes modified
parent
0554a1c120
commit
f85d1b9886
|
@ -42,7 +42,7 @@ var scene = GameLib.EntityManager.Instance.findComponentById('lpdxa66480');
|
||||||
var i = 0;
|
var i = 0;
|
||||||
var tempTree = null;
|
var tempTree = null;
|
||||||
|
|
||||||
for (i = 0; i <= Math.PI / 2; i += 0.1) {
|
for (i = -(Math.PI / 4); i <= (Math.PI / 4); i += 0.1) {
|
||||||
tempTree = treeLarge.cloneInstance();
|
tempTree = treeLarge.cloneInstance();
|
||||||
tempTree.position.x = Math.cos(i) * 100;
|
tempTree.position.x = Math.cos(i) * 100;
|
||||||
tempTree.position.z = Math.sin(i) * 100;
|
tempTree.position.z = Math.sin(i) * 100;
|
||||||
|
|
Loading…
Reference in New Issue