13 Commits

Author SHA1 Message Date
6859c8b200 Hotfix for memory leak
The Vector class is still leaky, but it's not a noticeable problem with this fix. Proper fixing requries more debugging
2021-01-18 18:59:13 +01:00
6801208905 Some cleanup and comments 2021-01-16 22:28:34 +01:00
68e8bf8153 Add optimizations for working intersect_ray_recurse approach
It's performant and functional now, yay
2021-01-16 19:33:48 +01:00
59d9311cc8 Rewrite intersect_ray_recurse
Like the function in the slides now, but I had to change a part because it's not working 100% otherwise... not very optimized now
2021-01-16 19:16:36 +01:00
40dc7850a9 Add support for multiple triangles per Point 2021-01-16 15:57:41 +01:00
ba98ae3386 Minor kdtree fixes/workarounds
Not sure why, but it misses some collisions with that t >= 0.0 clause...
2021-01-15 13:56:53 +01:00
90b6769278 Add visual output for the collision 2021-01-15 11:44:28 +01:00
af019d3318 Add kdtree -> Lines conversion
The kdtree can now be drawn!
2021-01-12 18:38:37 +01:00
7cbaaf84f7 Fix typo in cross product 2021-01-12 18:38:16 +01:00
87b54a1b41 Add kdtree and foundation of CollisionSystem 2021-01-02 16:00:09 +01:00
9c1417a8f9 Autoformat everything + minor include fixes 2021-01-02 15:20:33 +01:00
704081dbc3 Add image loader library 2020-01-14 12:57:54 +01:00
0d9f16939c Restructure files into directories for more clarity 2020-01-04 18:19:18 +01:00