fix: properly destroy entities/material/etc in Gizmo on destruction, remove custom scene creation logic

This commit is contained in:
Nick Fisher
2024-09-07 17:59:03 +08:00
parent 4c6c20f3de
commit c2eb28a8f5
2 changed files with 12 additions and 42 deletions

View File

@@ -62,7 +62,6 @@ class Gizmo {
Gizmo(Engine& engine, View *view, Scene *scene);
~Gizmo();
void destroy();
Entity x() {
return _entities[0];
};