From a83164950aedb40ab3f213d50a757ed07eabd7cc Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 4 Aug 2024 17:49:18 +0200 Subject: feat(engine): add component making a object not be drawn --- engine/src/draw_flags.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engine/src/draw_flags.rs') diff --git a/engine/src/draw_flags.rs b/engine/src/draw_flags.rs index c8c11c9..23ea22f 100644 --- a/engine/src/draw_flags.rs +++ b/engine/src/draw_flags.rs @@ -47,3 +47,7 @@ pub enum PolygonModeFace #[default] FrontAndBack, } + +/// Component that makes a object not be drawn. +#[derive(Debug, Clone, Copy, Component)] +pub struct NoDraw; -- cgit v1.2.3-18-g5258