mirror of
https://git.coom.tech/drummyfish/raycastlib.git
synced 2024-12-23 01:26:19 +01:00
media | ||
make.sh | ||
raycastlib.h | ||
README.md | ||
test.c | ||
testSDL.c | ||
testTerminal.c |
raycastlib
Ray Casting library for (not only) limited-resource computers.
eye-candy previews
Pokitto:
SDL:
Arduboy:
terminal:
features
- Very fast, small and efficient.
- Uses only integer math.
- No dependencies (uses only stdint standard library).
- Single header, KISS.
- Advanced rendering of variable height floor and ceiling.
- Textured walls and floor.
- Depth information (for fog).
- Camera shearing (looking up/down).
- Camera movement with collisions.
- Support for opening door.
- Pure C, tested to run as C++ as well.
- Optional framework functions that handle the whole rendering.
- Still flexible -- pixels are left for you to draw in any way you want.
- Tested on multiple platforms (PC, Arduboy, Pokitto).
- Many compile-time options to tune the performance vs quality.
- Well commented code.
TODO
- Transparency.
license
Everything is CC0 1.0. Please share your own software as free and open-source.