C++/raylib semi-realistic fantasy/sci-fi planet generator on a fixed icosphere grid (Eulerian: properties flow over fixed cells). World-creation stages: tectonics, continental drift & erosion, hydrology (rivers/lakes), climate (temperature + orographic precipitation), and biome classification. Engine in src/sim (raylib-free, headless-testable), viewer in src/render. See CLAUDE.md and docs/ (design-notes.md, fauna-flora-plan.md = next step). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
12 lines
363 B
C++
12 lines
363 B
C++
#include "Viewer.hpp"
|
|
|
|
// Program entry point: build the viewer, initialize it (window, layout, config,
|
|
// first world; honours --seed / --config), and run the frame loop. All the work
|
|
// lives in the engine (src/sim) and the viewer (src/render).
|
|
int main(int argc, char** argv) {
|
|
Viewer v;
|
|
if (!v.init(argc, argv)) return 1;
|
|
v.run();
|
|
return 0;
|
|
}
|