jalberse / shimmer

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

Decompose Light trait #72

Open jalberse opened 3 months ago

jalberse commented 3 months ago

The Light trait includes l(), which should only be used for area light sources, and le(), which should only be used for infinite light sources. These should be extracted into their own traits.