A toy raytracer that started to keep me busy during the French Robotics Cup 2019, when my support was not needed.
Teo-CD
9678e8c286
In order to implement more complexe behaviors, more information than the distance is needed from a raycast. Add a new struct to store and return this information, currently hit position and hit type, and update castRay to return that instead. |
||
---|---|---|
.gitignore | ||
CMakeLists.txt | ||
Color.h | ||
LICENSE | ||
main.cpp | ||
Player.cpp | ||
Player.h | ||
World.cpp | ||
World.h |