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
7
namespace
unlogic
8
{
9
class
Rect
:
public
Shape
10
{
11
public
:
12
Rect
(std::array<glm::vec2, 4>
const
&corners);
13
Rect
(glm::vec2
const
¢er, glm::vec2
const
&size);
14
15
Rect
() =
default
;
16
};
17
}
// namespace unlogic
18
19
#endif
// UNLOGIC_RECT_H
Shape.h
unlogic::Rect
Definition
Rect.h:10
unlogic::Rect::Rect
Rect()=default
unlogic::Shape
Definition
Shape.h:11
unlogic
Definition
Compiler.h:18
unlogic
src
graphic
shape
Rect.h
Generated by
1.9.8