laptop changes
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user