Store indices of children nodes rather than pointer in the bounding volume hierarchy
Compare changes
Files
6@@ -17,6 +17,7 @@
@@ -29,24 +30,24 @@ struct Node
Created by: dalg24
Motivation: this will let us copy trees between host and device and enable checkpoint/restart if that's something we want to get into.
Note that indices are store as ptrdiff_t
that has the same size as a pointer so that we do not change the alignment.