rSimulate/WebHexPlanet

Refactor the createPlanet() cods to its own file

Opened this issue · 1 comments

The createPlanet code should be a GeneratePlanet() function. The pieces of the planetery generation code such as material, meshes, as well as number of moons and so on and so fourth.

Examples of calls:
genPlanet(size, mooncount);
genPlanet(size,color);
genPlanet(size);

started completing this earlier, could use improvement though, im going to leave it open.