csg_intersect_part.h : csg_bounds_prim / csg_intersect_part

csg_intersect_part.h : csg_bounds_prim

Postorder traversal of the CSG tree nodes invoking bounds methods such as csg_bounds_sphere which compute the bbox and invoke optix::Aabb:include. The bounds methods appropriate for the Part::typecode are called with parameter part.q0/q1 and transform arguments via a typecode switch statement.

csg_intersect_part.h : csg_intersect_part

Large switch statement invoking functions such as csg_intersect_sphere csg_intersect_box etc depending on the part typecode.