laptop changes

This commit is contained in:
2026-09-23 04:20:43 +00:00
parent 39253771f1
commit a98eac3dc7
7 changed files with 138 additions and 6 deletions
+6
View File
@@ -4,6 +4,9 @@
namespace sophia {
class Entity;
class SceneRenderer; // !TEMP remove this
class Scene {
public:
Scene();
@@ -14,6 +17,9 @@ class Scene {
void setActiveCamera(entt::entity camera) { activeCamera = camera; }
private:
friend class Entity;
friend class SceneRenderer; // !TEMP remove this
entt::registry registry;
entt::entity activeCamera = entt::null;
};
+3 -3
View File
@@ -17,9 +17,9 @@ class DebugUI {
void show();
void hide();
void showPanelRegistry(bool show = true);
void showFrameStats(bool show = true);
void showConsole(bool show = true);
void showPanelRegistry(bool show = false);
void showFrameStats(bool show = false);
void showConsole(bool show = false);
private:
PanelRegistry& registry;