1#ifndef IMGUI_WINDOWS_HPP
2#define IMGUI_WINDOWS_HPP
4#include "raftel/ecs.hpp"
5#include "raftel/camera.hpp"
7#include <unordered_map>
74 void LightComponent(std::optional<Raftel::LightComponent>& l, std::optional<Raftel::TransformComponent>& t);
77 ImVec2 CameraComtrolSize;
78 ImVec2 EnityCreatorSize;
81 NO_COPYABLE_OR_MOVABLE(
Editor)
Camera class for handling movement and view transformations.
void ShowShadowMaps(EntityManager &ecs)
Displays shadow maps for entities with light components.
void Show(Raftel::Camera &cam, EntityManager &ecs)
Displays the main editor UI for managing entities and the camera.
Editor()
Constructs an Editor object.
~Editor()
Destructor for the Editor.
Manages entities in the ECS (Entity Component System).
Stores the state of the entity window in the UI.