The "Stupid, Lazily Optimized but Working bvh with Erroneous Rendering" This uses bvh to dramatically speed up rendering but making the bvh tree does take some time (for suzanne it should be very fast in turbowarp) Supports spheres and triangles, to switch between visualization and raytraced rendering, go to the "Renderer" sprite and follow the instructions next to the main loop gonna do some pathtracing with this soon https://iquilezles.org/ for the triangles and sphere intersection