From 09200a607661f739782a966807d31345485e2c41 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 20 Dec 2018 12:20:19 -0500 Subject: added animation example, and did many fixes to the voronoi system --- lib/include/graph.hpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'lib/include') diff --git a/lib/include/graph.hpp b/lib/include/graph.hpp index 75d54f4..d746ddd 100644 --- a/lib/include/graph.hpp +++ b/lib/include/graph.hpp @@ -4,8 +4,11 @@ #include #include #include -#include +#include #include +#include +#include + class graph { public: @@ -16,9 +19,13 @@ class graph { typedef struct vertex { coordinate r; + std::vector polygon; } vertex; - typedef std::array edge; + typedef struct edge { + std::array v; + coordinate r; + } edge; coordinate L; -- cgit v1.2.3-54-g00ecf