Learning Rust with a ray tracer

Hi, I am learning rust and I would like some feedback on my first project. I implemented a ray tracer (GitHub - jgsimard/rustrt), yes I know, it is not very original, but it make pretty pictures. I would like some comments on the structure, the performance, coding style, anything that you think might be useful for me to get better at rust. I used rayon for parallelisme, I tried to used enum_dispatch to remove dynamic dispatch. I am not super sure how to use the mod.rs files.

1 Like