#ifndef TECTONICS_H #define TECTONICS_H #include #include #include #include "geometry.h" struct world_t { struct point_t *points; struct quadtree_node_t tree; int n_points; }; /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * worlds * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ void create_world(struct world_t *world, int n_points); void free_world(struct world_t *world); void render_world(cairo_t *cr, struct world_t *world); void run_world_step(struct world_t *world); #endif