16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 00:59:18 +02:00
Files
maszyna/entitysystem/systems/LightSystem.h
2026-05-24 21:48:05 +02:00

14 lines
406 B
C++

#pragma once
#include "BaseSystem.h"
// Manages ECS light components (SpotLight, AreaLight, SunLight).
// Updates light position/direction from Transform each tick.
// Actual renderer integration is handled by the rendering pipeline reading these components.
class LightSystem : public BaseSystem
{
public:
void Update(ECWorld& world, float dt) override;
void Render(ECWorld& world) override;
};