libraycast
Raycasting library
Loading...
Searching...
No Matches
libraycast

raycast A Raycasting engine using SDL3.

Build Status Doxygen Status Clang-format status

Table of Contents

  • Overview
  • Building
  • Requirements
  • Testing
  • Showcase
  • Library Documentation
  • Further Reading
  • Bugs
  • License

Overview

This is a Raycasting engine using SDL3, with support for 3-D textured and untextured rendering, as well as 2-D top-down "minimap" rendering.

Building

Requirements

  • CMake 3.31.6 or higher
  • A C99-compatible C compiler (e.g. GCC, Clang)
  • SDL3

Linux / macOS

# build library and demo
cmake -S . -B build
cmake --build build
# install
cmake --install build

Demos will be located in the build/demo directory.

Testing

Linux / macOS

git submodule update
cmake -S . -B build -DTEST=ON
cmake --build build
cd build
ctest --verbose

Showcase

Textured 3D View

Documentation

Library documentation is available here.

Further Reading

Bugs

If you find a bug, submit an issue, PR, or email me with a description and/or patch.

License

Copyright (c) 2025-2026 Ben O'Neill ben@o.nosp@m.neil.nosp@m.l.sh. This work is released under the terms of the MIT License. See [LICENSE](LICENSE) for the license terms.