toBVH

fun Rectangle.toBVH(out: BVHIntervals = BVHIntervals(2)): BVHRect
fun Ray.toBVH(out: BVHIntervals = BVHIntervals(2)): BVHRay
fun AABB3D.toBVH(out: BVHIntervals = BVHIntervals(3)): BVHRect
fun Ray3F.toBVH(out: BVHIntervals = BVHIntervals(3)): BVHRay