Practical Tools for Simple Design
Loading...
Searching...
No Matches
Drawable.hpp
1#ifndef CORE_DRAWABLE_HPP
2#define CORE_DRAWABLE_HPP
3
4#include "pch.hpp" // IWYU pragma: export
5
6#include "Util/Transform.hpp"
7
8namespace Core {
9struct Matrices {
10 glm::mat4 m_Model;
11 glm::mat4 m_Projection;
12};
13
14class Drawable {
15public:
16 virtual ~Drawable() = default;
17 virtual void Draw(const Core::Matrices &data) = 0;
18 virtual glm::vec2 GetSize() const = 0;
19};
20} // namespace Core
21
22#endif
Definition: Drawable.hpp:14
Core functionality of the framework
Definition: config.hpp:7
Definition: Drawable.hpp:9