A small showcase of my ray casting system
Go to file
Joseph Aquino 637dc7e821 major code rewrite.
-rays are now handled inside class Ray
-constructRay function removed as the functionality is replaced by Ray's constructor
- added an unnamed enum to make indexing Ray::m_points more clear
- Ray::angle is used to keep track of the angle to +x, is updated when any point in Ray::m_points is updated
- Helper.hpp has been renamed to Utility.hpp
-all functions that were above main() are now in Utility.hpp
-rays now behave like a light source
-rays get sorted by angle and get placed into a TriangleFan which is drawn as the light source
-added additional options to the imgui menu
2025-04-10 12:53:51 -04:00
.gitattributes Add .gitattributes, .gitignore, and LICENSE.txt. 2025-04-08 14:03:33 -04:00
.gitignore Add .gitattributes, .gitignore, and LICENSE.txt. 2025-04-08 14:03:33 -04:00
LICENSE.txt Add .gitattributes, .gitignore, and LICENSE.txt. 2025-04-08 14:03:33 -04:00
Random.h Add project files. 2025-04-08 14:03:35 -04:00
Ray.cpp major code rewrite. 2025-04-10 12:53:51 -04:00
Ray.h major code rewrite. 2025-04-10 12:53:51 -04:00
Utility.hpp major code rewrite. 2025-04-10 12:53:51 -04:00
imgui.ini major code rewrite. 2025-04-10 12:53:51 -04:00
main.cpp major code rewrite. 2025-04-10 12:53:51 -04:00
ray-casting-demos.sln Add project files. 2025-04-08 14:03:35 -04:00
ray-casting-demos.vcxproj major code rewrite. 2025-04-10 12:53:51 -04:00
ray-casting-demos.vcxproj.filters major code rewrite. 2025-04-10 12:53:51 -04:00