From 7e60437d3c064bca402d486be967c43bf4326067 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Wed, 3 Sep 2025 23:31:40 +0200 Subject: Initial (with old code) This includes old code too, perhaps from 2021-05-05, judging from the birth timestamp on the directory. The old code included option parsing and equation solving for fancy mutually-dependent options, but no actual rendering (imagine that). --- main.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main.cpp (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..765735c --- /dev/null +++ b/main.cpp @@ -0,0 +1,14 @@ +#include "options.h" +#include "compute.h" +#include + + +int main(int argc, char **argv) { + Options options = parse_options(argc, argv); + std::cout << "Options:" << std::endl << options << std::endl; + HistImage img{compute_brot(options)}; + if (options.outfname.value != "/dev/null") + img.render(options.outfname.value.data()); +} + +// vim: set sw=4 ts=4 noet: -- cgit v1.2.3-70-g09d2