A toy raytracer that started to keep me busy during the French Robotics Cup 2019, when my support was not needed.
- C++ 88.1%
- CMake 9.3%
- C 2.6%
Update the CMakeLists to the new subsystem names.
Update ImGui-SFML to a version supporting SFML 3.0.
Update usages of (x, y) being passed as separate arguments to {x, y}
implicit sfml::Vec2 objects.
This also removed "specialized" vectors, so update "width" and "height"
member accesses to "x" and "y" where relevant.
Update the event handling to the new std::optional form.
This is non-blocking, so check if there is an event at all at the start
of the event-loop and early exit if not.
This also allows us to pass the event value to ImGui-SFML directly.
|
||
|---|---|---|
| .gitignore | ||
| CMakeLists.txt | ||
| Color.h | ||
| FrameTracing.h | ||
| LICENSE | ||
| main.cpp | ||
| Player.cpp | ||
| Player.h | ||
| World.cpp | ||
| World.h | ||