Completely untested, so almost certainly non-functional. But it compiles!
This will be used for BVH4 traversal.