Walther / clovers

Ray Tracing in Rust
https://walther.github.io/clovers/clovers/
13 stars 1 forks source link

Test using enum_dispatch or typetag #59

Closed Walther closed 2 years ago

Walther commented 3 years ago

https://docs.rs/enum_dispatch/0.3.4/enum_dispatch/

This could potentially clean up the objects and their hit methods etc a bunch. Try it out!

Walther commented 3 years ago

See also https://github.com/dtolnay/typetag