From fc3fdd59a1b8cceb1eb3e64ac41c6621301772ff Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 26 Jan 2022 14:43:06 -0600 Subject: move tectonics.c -> main.c --- experimental/tectonics/world.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'experimental/tectonics/world.c') diff --git a/experimental/tectonics/world.c b/experimental/tectonics/world.c index f5b6efb..dc042ee 100644 --- a/experimental/tectonics/world.c +++ b/experimental/tectonics/world.c @@ -53,7 +53,6 @@ static void relax_points(struct world_t *world, int iterations) // approximate centroids for (int i=0; ipoints + i; pt->x = rand01(); pt->y = rand01(); - - //quadtree_insert(&(world->tree), world->points, i); } rebuild_tree(world); - for (int i=0; i<15; i++) - relax_points(world, 10*world->n_points); + for (int i=0; i<1; i++) { + log_msg(INFO, "relaxing points - iteration %d", i+1); + relax_points(world, 50*world->n_points); + } } -- cgit v1.2.1