From aaf4dd3efe219391c83ce07aa4d24a34bc0c6608 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 8 Jul 2025 21:10:54 -0600 Subject: sooo slow --- src/world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/world.c') diff --git a/src/world.c b/src/world.c index 34747a0..e670d6f 100644 --- a/src/world.c +++ b/src/world.c @@ -111,6 +111,7 @@ void buildWorldBVH(World* world) { leaf.entities[leafIndex] = closest; grouped[closest] = true; + --ungroupedCount; } } @@ -135,7 +136,6 @@ void buildWorldBVH(World* world) world->bvhTest[world->bvhTestSize] = leaf; ++world->bvhTestSize; - --ungroupedCount; printf("size: %d\n", world->bvhTestSize); } -- cgit v1.2.3