Skip to content

Wolfenstein 3D-style raycasting implementation

License

Notifications You must be signed in to change notification settings

sammer1107/raycaster

 
 

Repository files navigation

raycaster

A efficient and lean implementation of the ray casting algorithm.

Features

  • Both floating-point and fixed-point (8-bit precision) are available.
  • no division operations
  • 8 x 8-bit multiplications per vertical line
  • precalculated trigonometric and perspective tables

Prerequisites

This work is built with SDL2.

  • macOS: brew install sdl2
  • Ubuntu Linux / Debian: sudo apt install libsdl2-dev

License

raycaster is released under the MIT License. Use of this source code is governed by a MIT license that can be found in the LICENSE file.

About

Wolfenstein 3D-style raycasting implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 50.6%
  • C++ 35.9%
  • Shell 12.7%
  • Makefile 0.8%