-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvgen.h
48 lines (42 loc) · 1.48 KB
/
vgen.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// .___
// ___ __ ____ ___ ___ ____ __| _/
// \ \/ // __ \\ \/ // __ \ / __ |
// \ /\ ___/ > <\ ___// /_/ |
// \_/ \___ >__/\_ \\___ >____ |
// \/ \/ \/ \/ __ .__
// ____ ____ ____ ________________ _/ |_|__| ____ ____
// / ___\_/ __ \ / \_/ __ \_ __ \__ \\ __\ |/ _ \ / \
// / /_/ > ___/| | \ ___/| | \// __ \| | | ( <_> ) | \
// \___ / \___ >___| /\___ >__| (____ /__| |__|\____/|___| /
// /_____/ \/ \/ \/ \/ \/
//
// (c) 2016 - 2020 Karsten Schmidt // ASL 2.0 licensed
#define VG_STR(x) #x
#define VG_STR2(x) VG_STR(x)
// semantic versioning
#define VG_VERSION_MAJOR 1
#define VG_VERSION_MINOR 7
#define VG_VERSION_PATCH 0
#define VG_VERSION \
(VG_STR2(VG_VERSION_MAJOR) "." VG_STR2(VG_VERSION_MINOR) "." VG_STR2( \
VG_VERSION_PATCH))
void vg_min_version(string version) {
if (VG_VERSION < version) {
error("Please upgrade thi.ng/vgen to v%s or newer", version);
}
}
// submodules
#include <vgen_2d.h>
#include <vgen_arrays.h>
#include <vgen_attribs.h>
#include <vgen_bounds.h>
#include <vgen_centroid.h>
#include <vgen_disjointset.h>
#include <vgen_distance.h>
#include <vgen_marchingsquares.h>
#include <vgen_math.h>
#include <vgen_osc.h>
#include <vgen_plane.h>
#include <vgen_ptf.h>
#include <vgen_tessel.h>
#include <vgen_vector.h>