diff options
Diffstat (limited to 'engine/src/material.rs')
-rw-r--r-- | engine/src/material.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/src/material.rs b/engine/src/material.rs index 5af3282..7d8c5db 100644 --- a/engine/src/material.rs +++ b/engine/src/material.rs @@ -1,6 +1,8 @@ +use ecs::Component; + use crate::texture::Id as TextureId; -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Component)] pub struct Material { ambient_map: TextureId, |