From 6b687b91e788b4e91a6ed30640a2477b9596b954 Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 26 Jan 2022 02:32:06 -0600 Subject: refactor: move drawing functions into drawing.h/drawing.c --- experimental/tectonics/tectonics.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'experimental/tectonics/tectonics.c') diff --git a/experimental/tectonics/tectonics.c b/experimental/tectonics/tectonics.c index e43a425..7d5342a 100644 --- a/experimental/tectonics/tectonics.c +++ b/experimental/tectonics/tectonics.c @@ -1,6 +1,7 @@ #include #include "tectonics.h" +#include "drawing.h" #define X_RES 1024 #define Y_RES X_RES @@ -14,7 +15,7 @@ int main() create_world(&world, 10000); if (world.points == NULL) return 1; - render_world(cr, &world); + draw_world(cr, &world); free_world(&world); cairo_destroy(cr); -- cgit v1.2.1