using engine types

This commit is contained in:
2026-10-25 22:46:35 -07:00
parent 2f5268fef6
commit 17fe9de756
+2 -2
View File
@@ -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;