A raycasting engine for MATLAB
- Clone/download this repository
- Add the folder with the contents to MATLAB path
- Open MATLAB and execute the class constructor
- W - walk forward
- S - walk backwards
- A,D - turn left/right
- Q,E - strafe left/right
Easily, just change the numbers in the map matrix. Zero means empty space, other numbers mean different types of texture. You can build your own maze with it.
Inspired by: https://www.youtube.com/channel/UCjdHbo8_vh3rxQ-875XGkvw
Textures used are from Wolfenstein 3D.
By Wondrush, 2020