//
// Created by sebastian on 08.02.26.
//

#ifndef TILEHIGHLIGHTSYSTEM_H
#define TILEHIGHLIGHTSYSTEM_H
#include "../../../../engine/core/ECS/EntityManager.h"
#include "../../../../engine/platform/glfw/MousePicker.h"
class Camera;

class TileHighlightSystem {
public:
    void update(EntityManager &entityManager, const MousePicker &picker, const Camera &camera);
private:
    bool intersectTile(const glm::vec3 & rayOrigin, const glm::vec3 & rayDirection, glm::vec3 worldPos, float hexRadius, glm::vec3 &interectionPoint);
};



#endif //TILEHIGHLIGHTSYSTEM_H
