Reffering to this part. There might be a more idiomatic way to do this using cpp2's loops https://github.com/isidorostsa/RayTrayCpp2/blob/653d6ce54616de1c749c04fbbf621ad88b8e3ff8/src/inc/hittable_list.h2#L28
Reffering to this part. There might be a more idiomatic way to do this using cpp2's loops
RayTrayCpp2/src/inc/hittable_list.h2
Line 28 in 653d6ce