Bruno BELANYI
|
7112873715
|
library: replace super::super by crate import
Done with the following shell command:
`sed -e 's/super::super/crate/' -i $(git grep -l super::super)`.
Followed by a `cargo fmt --all`.
|
2020-03-17 20:49:30 +01:00 |
|
Bruno BELANYI
|
2088877bd2
|
library: light: add SpotLight implementation
|
2020-03-16 18:35:32 +01:00 |
|
Bruno BELANYI
|
3a487d956e
|
library: light: add AmbientLight implementation
|
2020-03-16 17:54:44 +01:00 |
|
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 |
|