summaryrefslogtreecommitdiff
path: root/experimental/tectonics/world.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-01-26 12:00:35 -0600
committersanine <sanine.not@pm.me>2022-01-26 12:00:35 -0600
commit5734102b0adf54933230264e0b43e74f5eabf718 (patch)
tree484d6cf93a1c536c98ddfe3f60efbb475560cb94 /experimental/tectonics/world.c
parent6b687b91e788b4e91a6ed30640a2477b9596b954 (diff)
add basic logging and CLI options
Diffstat (limited to 'experimental/tectonics/world.c')
-rw-r--r--experimental/tectonics/world.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/experimental/tectonics/world.c b/experimental/tectonics/world.c
index 5aa485c..f5b6efb 100644
--- a/experimental/tectonics/world.c
+++ b/experimental/tectonics/world.c
@@ -4,6 +4,7 @@
#include "tectonics.h"
#include "geometry.h"
#include "util.h"
+#include "logging.h"
static void rebuild_tree(struct world_t *world)
{
@@ -114,7 +115,7 @@ void create_world(struct world_t *world, int n_points)
rebuild_tree(world);
- for (int i=0; i<3; i++)
+ for (int i=0; i<15; i++)
relax_points(world, 10*world->n_points);
}