using engine types
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user