jalberse / shimmer

Physically based rendering in Rust
Apache License 2.0
33 stars 0 forks source link

Consider making Tuple classes take value, not references #38

Closed jalberse closed 5 months ago

jalberse commented 7 months ago

These classes should be small enough to take by value without performance concerns, and adding references is a bit annoying at callsites. Try this and compare performance.

jalberse commented 5 months ago

This is done. Doesn't seem to impact performance but I like the interface better.