Commit Graph

1 Commits

Author SHA1 Message Date
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