Commit graph

6 commits

Author SHA1 Message Date
Bruno BELANYI d759c16f5d library: light: add DirectionalLight implementation 2020-03-16 17:52:33 +01:00
Bruno BELANYI 22167a1b93 library: light: add PointLight implementation 2020-03-16 17:45:35 +01:00
Bruno BELANYI 7d28e21a70 library: move from f64 to f32
They are faster to compute with, take less space --which means faster
access because we use less cache lines--, and they are what is used by
`bvh`...
2020-03-16 17:26:04 +01:00
Bruno BELANYI 30c48ea021 library: light: add SpatialLight trait definition 2020-03-16 15:22:56 +01:00
Bruno BELANYI 20d9103d39 library: light: add Light trait definition 2020-03-16 15:22:56 +01:00
Bruno BELANYI c0e21d2f66 library: add light module 2020-03-16 15:18:15 +01:00