3 Commits

Author SHA1 Message Date
6cb085dcd6 Implement Vector dot and cross product
A new Vector constructor was added for ease of use.
2020-12-28 17:16:00 +01:00
a1bae6dd5b Implement ray-triangle-intersection; separate Vector and Point for this 2020-12-28 17:08:56 +01:00
97f8265014 Move geometry structs to own file
Also, the Ray got an unimplemented `intersects_triangle` method, so the kdtree intersection function should be complete.
2020-12-28 16:34:51 +01:00