#include #include #include #include #include #include "DLASystem.h" using std::cout; using std::endl; // this is a global pointer, which is how we access the system itself DLASystem *sys; int main(int argc, char **argv) { std::ofstream csv_out("./out.csv"); // create the system sys = new DLASystem(std::move(csv_out), 0.5); // this is the seed for the random numbers int seed = 6; cout << "setting seed " << seed << endl; sys->setSeed(seed); sys->setRunning(); /* * NOTE: We run at max speed as rendering is handled by a different engine so we simply want to hjand * */ while (sys->running) { sys->Update(); } return 0; }