diff options
author | sanine <sanine.not@pm.me> | 2022-01-26 02:32:06 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-01-26 02:32:06 -0600 |
commit | 6b687b91e788b4e91a6ed30640a2477b9596b954 (patch) | |
tree | be0ebf99cd8ff3776f59a33b42ef22ab07c71a6c /experimental/tectonics/tectonics.c | |
parent | 672819693ddf1d203c304697b63f44059cff09b6 (diff) |
refactor: move drawing functions into drawing.h/drawing.c
Diffstat (limited to 'experimental/tectonics/tectonics.c')
-rw-r--r-- | experimental/tectonics/tectonics.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <cairo.h> #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); |