assimp and ECS, also renderpass? not really tho

This commit is contained in:
Ben Kyd
2025-06-28 23:11:16 +01:00
parent 0db51249ea
commit 8e713e38e6
26 changed files with 160 additions and 93 deletions

View File

@@ -76,16 +76,17 @@ public:
ExampleGame()
: App({"Example"}, {"Game with AEON!"})
{
const auto entity = this->mEntityRegistry.create();
entity.emplace<EC::Transform>();
const auto entity = GetEntityRegistry().create();
GetEntityRegistry().emplace<EC::Transform>(entity, EC::Transform({0.0f, 0.0f, 0.0f}));
Level* level = new Level;
PushLayer((Core::GameLayer*)level);
PushDebugLayer(&debug);
DebugLayer debug;
PushDebugLayer(&debug);
Run();
delete level;
}
~ExampleGame()