summaryrefslogtreecommitdiff
path: root/experimental/tectonics/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tectonics/world.c')
-rw-r--r--experimental/tectonics/world.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/experimental/tectonics/world.c b/experimental/tectonics/world.c
index 5aead24..5aa485c 100644
--- a/experimental/tectonics/world.c
+++ b/experimental/tectonics/world.c
@@ -131,24 +131,3 @@ void free_world(struct world_t *world)
}
free(world->points);
}
-
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-void render_world(cairo_t *cr, struct world_t *world)
-{
- int width, height;
- get_cairo_size(cr, &width, &height);
- double r = ((double)width) / (100*sqrt(world->n_points));
- cairo_set_source_rgba(cr, 1, 0, 0, 1);
-
- for (int i=0; i<world->n_points; i++) {
- struct point_t *pt = world->points + i;
- double xc = pt->x * width;
- double yc = pt->y * height;
- cairo_arc(cr, xc, yc, r, 0, 2*M_PI);
- cairo_stroke(cr);
- }
-
- //draw_quadtree(cr, &(world->tree));
-}