Initial Vectorail Core library
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user