From 17fe9de75612960843d26fd8b408bc8515465556 Mon Sep 17 00:00:00 2001 From: Caleb Burke Date: Sun, 25 Oct 2026 22:46:35 -0700 Subject: [PATCH] using engine types --- engine/include/sophia/components.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;