karl pushed to main at mgs/gedeng 2021-03-15 16:25:51 +01:00
b778751254 More tests and corresponding fixes
84846a5619 Add erase by swap
49b158dafe Some const correctness fixes
560abcb201 Add as_array
2b62e37ccd Fix resize() with non-default constructor + test
Compare 7 commits »
karl pushed to main at mgs/gedeng 2021-03-13 18:09:55 +01:00
bbb64dd8b7 Add memory reallocation if needed
karl pushed to main at mgs/gedeng 2021-03-05 15:33:47 +01:00
b0f8a9970f Add some comments and TODOs
d313d0ce63 Add unit tests instead of main; more implementations
2efd3407ac Basic implementation aside from resizing done
Compare 3 commits »
karl pushed to main at mgs/gedeng 2021-03-04 19:41:30 +01:00
d0a7f73512 Restructure to SCons with empty Vector lib
c10e35d940 Initial commit
karl created repository mgs/gedeng 2021-03-04 19:40:40 +01:00
karl released MGA: ALGO+EZG Submission at mgs/ecsgame 2021-01-18 19:21:18 +01:00
karl pushed to master at mgs/ecsgame 2021-01-18 19:12:20 +01:00
1989ff4cc2 Update README
08646911ba Add benchmark code in main (commented out)
a3233d90c7 Hotfix for memory leak
3c2db2dc2c Update README
6859c8b200 Hotfix for memory leak
Compare 5 commits »
karl pushed to master at mgs/ecsgame 2021-01-18 19:02:03 +01:00
3c2db2dc2c Update README
6859c8b200 Hotfix for memory leak
Compare 2 commits »
karl pushed to master at mgs/ecsgame 2021-01-16 22:35:41 +01:00
1649af9943 Add flag for non-colliding objects
6801208905 Some cleanup and comments
Compare 2 commits »
karl pushed to main at mgs/kdtree 2021-01-16 22:21:52 +01:00
72df366761 Points hold multiple Triangles; fix recursive intersection
karl pushed to master at mgs/ecsgame 2021-01-16 22:14:25 +01:00
27dcc00e68 Add global collision point output
karl pushed to master at mgs/ecsgame 2021-01-16 19:34:05 +01:00
68e8bf8153 Add optimizations for working intersect_ray_recurse approach
karl pushed to master at mgs/ecsgame 2021-01-16 19:17:15 +01:00
59d9311cc8 Rewrite intersect_ray_recurse
40dc7850a9 Add support for multiple triangles per Point
ba98ae3386 Minor kdtree fixes/workarounds
90b6769278 Add visual output for the collision
3504d878f8 Improve visuals for kdtree rendering
Compare 5 commits »
karl pushed to main at mgs/kdtree 2021-01-12 18:45:22 +01:00
21c0e9c609 Add KDTree::get_lines for visualizing the tree
7b8506d102 Fix typo in cross product calculation
Compare 2 commits »
karl pushed to master at mgs/ecsgame 2021-01-12 18:39:12 +01:00
af019d3318 Add kdtree -> Lines conversion
7cbaaf84f7 Fix typo in cross product
418b344dbe Add simple line drawing component + renderer
Compare 3 commits »
karl pushed to master at mgs/ecsgame 2021-01-02 16:52:09 +01:00
fc880b397a Add mouse direction getter for CollisionSystem
c2d733db22 Add mouse direction getter for CollisionSystem
Compare 2 commits »
karl pushed to master at mgs/ecsgame 2021-01-02 16:47:40 +01:00
c2d733db22 Add mouse direction getter for CollisionSystem
7cc6531928 Minor bugfixes in CollisionSystem
3bb071ae7b Add prototype collision checking
87b54a1b41 Add kdtree and foundation of CollisionSystem
9c1417a8f9 Autoformat everything + minor include fixes
Compare 6 commits »
karl pushed to main at mgs/kdtree 2020-12-28 17:40:10 +01:00
bf96bbf26f Some bugfixes and intersection test in Main
d36181393f Add geometry as dependency to Makefile
d966beeb15 Change Triangle to hold Vectors, not Points
Compare 3 commits »
karl pushed to main at mgs/kdtree 2020-12-28 17:18:10 +01:00
6cb085dcd6 Implement Vector dot and cross product
karl pushed to main at mgs/kdtree 2020-12-28 17:09:31 +01:00
a1bae6dd5b Implement ray-triangle-intersection; separate Vector and Point for this
97f8265014 Move geometry structs to own file
Compare 2 commits »