diff options
Diffstat (limited to 'engine/src/lighting.rs')
-rw-r--r-- | engine/src/lighting.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/src/lighting.rs b/engine/src/lighting.rs index f41437a..e79c1bc 100644 --- a/engine/src/lighting.rs +++ b/engine/src/lighting.rs @@ -4,13 +4,13 @@ use crate::color::Color; use crate::util::builder; #[derive(Debug, Clone, Component)] -pub struct LightSource +pub struct PointLight { pub diffuse: Color<f32>, pub specular: Color<f32>, } -impl Default for LightSource +impl Default for PointLight { fn default() -> Self { |