Files
vectorail-core/README.md
T
2026-08-02 17:05:27 +02:00

692 B

Vectorail Core

Reusable SDL 3 and OpenGL composition primitives extracted from Vectorail. The library deliberately contains no game rules and no Groove Coaster format knowledge.

Scope

  • OpenGL function loading and shader helpers;
  • spline evaluation used by rail renderers;
  • PNG and uncompressed DDS texture upload helpers;
  • portable SDL/OpenGL integration shared by applications built on Vectorail.

Build

cmake -S . -B build
cmake --build build
cmake --install build --prefix /desired/prefix

Dependencies are SDL 3, OpenGL, libpng, and GLM. Consumers link the exported Vectorail::Core CMake target.

Vectorail Core is distributed under the BSD 3-Clause License.