blob: 17f161946528b6977d6e742ff6b997bb2fb31073 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include "api/Vector2.h"
#include <cstdint>
#include <functional>
#include <vector>
namespace crepe {
//! GameObject ID
typedef uint32_t game_object_id_t;
//! vector of reference_wrapper
template <typename T>
using RefVector = std::vector<std::reference_wrapper<T>>;
//! Default Vector2<int> type
typedef Vector2<int> ivec2;
//! Default Vector2<unsigned int> type
typedef Vector2<unsigned int> uvec2;
//! Default Vector2<float> type
typedef Vector2<float> vec2;
//! Default Vector2<double> type
typedef Vector2<double> dvec2;
} // namespace crepe
|