Please review this small piece of code

[SPOILER] If you get desperate you might look at how another Rustacean addressed the problem:
Peter Shirley's Ray Tracing In One Weekend implementation in Rust

1 Like