Skip to content

Version 2.0

Choose a tag to compare

@LandonTheCoder LandonTheCoder released this 26 Oct 23:08
· 11 commits to main since this release
v2.0
baaa9cf

This makes some major changes in how the code is organized:

  • I now have source subdirectories. include/ contains public headers (organized how they install systemwide), lib/ contains the library portions of the raytracer (those implementing functionality used by it), and src/ includes the programs demonstrating it.
  • In accordance with that, I have moved some build logic into subdirectory meson.build files (in include/ and lib/). Note that I have not moved the build logic for the demonstration programs themselves, as that would cause the built executables to show up in $BUILDDIR/src instead of $BUILDDIR/ and I don't want to have to type out $BUILDDIR/src/raytracer every time I need to test it.
  • I now build most of this program as a library which is linked against the programs, which avoids building parts of the program multiple times.
  • I have moved the vast majority of functionality so that it is in a namespace named rt, to avoid name clashes with anything else. This change is why I have bumped a major version.