unlogic
Loading...
Searching...
No Matches
Rect.h
Go to the documentation of this file.
1#ifndef UNLOGIC_RECT_H
2#define UNLOGIC_RECT_H
3
4#include <glm/glm.hpp>
5#include "Shape.h"
6
7namespace unlogic
8{
9 class Rect : public Shape
10 {
11 public:
12 Rect(std::array<glm::vec2, 4> const &corners);
13 Rect(glm::vec2 const &center, glm::vec2 const &size);
14
15 Rect() = default;
16 };
17} // namespace unlogic
18
19#endif // UNLOGIC_RECT_H
Rect()=default