Initial Vectorail Core library

This commit is contained in:
2026-08-02 17:05:27 +02:00
commit d869edfaa8
15 changed files with 749 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# 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
```sh
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.