1#include "DirectionalLightComponent.h" 
    2#include "imgui/imgui/imgui.h" 
    3#include "core/renderer/shapes/Quad3d.h" 
    4#include "core/ecs/components/TransformComponent.h" 
    5#include "core/ecs/components/model/ModelComponent.h" 
    6#include "common/maths/Vec.h" 
   10    DirectionalLightComponent::DirectionalLightComponent(Maths::Vec3 lightColor)
 
   11        : m_LightColor(lightColor)
 
   15    void DirectionalLightComponent::Draw(
Camera* camera)
 
   34    void DirectionalLightComponent::ImGuiRender()
 
   36        ImGui::SliderFloat(
"Intensity", &m_Intensity, 0.0f, 10.0f);
 
   37        ImGui::SliderFloat3(
"Direction", &m_Direction.x, -1.0f, 1.0f);
 
   38        ImGui::ColorPicker3(
"Light Color", &m_LightColor.x);
 
A class that represents the camera.