Skip to content

Store indices of children nodes rather than pointer in the bounding volume hierarchy

Arndt, Daniel requested to merge github/fork/dalg24/node_ptr into master

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.

Merge request reports

Loading