Fixing destruction

This commit is contained in:
Dynamitos
2024-07-18 11:45:56 +02:00
parent 67c4ce2f7a
commit 3b6eb3ebcc
31 changed files with 173 additions and 82 deletions
+2
View File
@@ -15,6 +15,7 @@ class Scene {
public:
Scene(Gfx::PGraphics graphics);
~Scene();
void bakeLighting();
void update(float deltaTime);
entt::entity createEntity() { return registry.create(); }
void destroyEntity(entt::entity identifier) { registry.destroy(identifier); }
@@ -39,6 +40,7 @@ class Scene {
Gfx::PGraphics graphics;
OLightEnvironment lightEnv;
PhysicsSystem physics;
Array<Gfx::OTexture2D> lightMaps;
};
DEFINE_REF(Scene)
} // namespace Seele