Commit graph

5 commits

Author SHA1 Message Date
Ryan 044a735729 Fix stack overflow during BVH construction
The epsilon for float equality was too small which prevented the
function from terminating. Additionally, it has been rewritten in terms
of a loop because tail-call optimization was not happening.
2022-07-17 22:07:51 -07:00
Ryan 4a12def900 Redesign the spatial index API and add raycast example 2022-07-14 03:40:26 -07:00
Ryan 3f150b4c8a Document most items 2022-07-11 05:08:02 -07:00
Ryan d709eb5ec8 Add spatial index 2022-06-19 00:25:25 -07:00
Ryan a61f5b1990 replace R-Tree with BVH 2022-06-13 02:34:03 -07:00