mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 08:49:18 +02:00
WIP
This commit is contained in:
13
entitysystem/systems/LightSystem.h
Normal file
13
entitysystem/systems/LightSystem.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user