Files
Seele/src/Engine/System/CameraUpdater.h
T

17 lines
414 B
C++
Raw Normal View History

2023-11-10 19:18:09 +01:00
#pragma once
#include "Component/Camera.h"
2024-06-09 12:20:04 +02:00
#include "ComponentSystem.h"
2023-11-10 19:18:09 +01:00
2024-06-09 12:20:04 +02:00
namespace Seele {
namespace System {
2025-04-11 23:13:19 +02:00
class CameraUpdater : public ComponentSystem<Component::Camera, Component::Transform> {
2024-06-09 12:20:04 +02:00
public:
2023-11-10 19:18:09 +01:00
CameraUpdater(PScene scene);
virtual ~CameraUpdater();
2025-04-11 23:13:19 +02:00
virtual void update(Component::Camera& camera, Component::Transform& transform);
2024-06-09 12:20:04 +02:00
private:
2023-11-10 19:18:09 +01:00
};
2024-06-09 12:20:04 +02:00
} // namespace System
} // namespace Seele