A toy raytracer that started to keep me busy during the French Robotics Cup 2019, when my support was not needed.
Teo-CD
cad775f88e
Implement the basic raycaster, checking every block intersection and the block linked to that position. Split the screen uniformally along the width. Add data needed for camera maths in the Player class Specify constraints on the raycast parameters. Render the screen using the raycasts. Call the renderer in the main loop. |
||
---|---|---|
.gitignore | ||
CMakeLists.txt | ||
LICENSE | ||
main.cpp | ||
Player.cpp | ||
Player.h | ||
World.cpp | ||
World.h |