diff --git a/engine/include/sophia/components.hpp b/engine/include/sophia/components.hpp index 5183b4a..d094401 100644 --- a/engine/include/sophia/components.hpp +++ b/engine/include/sophia/components.hpp @@ -11,7 +11,7 @@ namespace sophia { struct TagComponent { std::string tag; // entt::hashed_string ? - uint32_t mask = 0; + u32 mask = 0; }; struct TransformComponent { @@ -100,7 +100,7 @@ struct CameraComponent { float farPlane = 100.f; }; - enum class Projection { Orthographic, Perspective }; + enum class Projection : u8 { Orthographic, Perspective }; Projection projection = Projection::Orthographic; Orthographic ortho;