Improvement to coordinate system

- Flip coordinate system for SwapChain passthrough
- Normalize MouseMoveEvent coordination
- Add RemoveSystem to Ecs
This commit is contained in:
Thraix
2023-05-23 13:02:21 +02:00
parent cd4abe6007
commit d817c3084d
12 changed files with 59 additions and 48 deletions
+6
View File
@@ -33,6 +33,12 @@ namespace Copium
return systemPool->AddSystem(typeid(SystemClass), new SystemClass{args...});
}
template <typename SystemClass>
void RemoveSystem()
{
systemPool->MoveSystemBefore(typeid(SystemClass));
}
void UpdateSystems();
void UpdateSystems(const Signal& signal);