OGL Engine
1.2.0-dev
Loading...
Searching...
No Matches
defs.hpp
Go to the documentation of this file.
1
5
#pragma once
6
7
#include <glm/glm.hpp>
8
#include <cstdint>
9
#include <bitset>
10
11
namespace
Engine
{
13
using
EntityID
= std::uint32_t;
15
enum class
Anchor
{
16
BottomLeft
,
17
Center
,
18
Bottom
,
19
Top
20
};
21
22
struct
Rectangle
{
23
glm::vec3
min
;
24
glm::vec3
max
;
25
};
26
}
Engine
Definition
app.cpp:14
Engine::Anchor
Anchor
Définition d'une enum "Anchor" qui permet de définir le point d'ancrage d'un item (très utile pour le...
Definition
defs.hpp:15
Engine::Anchor::Bottom
@ Bottom
Definition
defs.hpp:18
Engine::Anchor::Center
@ Center
Definition
defs.hpp:17
Engine::Anchor::BottomLeft
@ BottomLeft
Definition
defs.hpp:16
Engine::Anchor::Top
@ Top
Definition
defs.hpp:19
Engine::EntityID
std::uint32_t EntityID
Définition de type pour mieux identifier les EntityID.
Definition
defs.hpp:13
Engine::Rectangle
Définition d'une structure rectangle qui est défini par la position de deux points : min et max.
Definition
defs.hpp:22
Engine::Rectangle::min
glm::vec3 min
Definition
defs.hpp:23
Engine::Rectangle::max
glm::vec3 max
Definition
defs.hpp:24
defs.hpp
Generated by
1.14.0