From ee8e6012c819660bcedcbcdf68a585c0019e8931 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Fri, 24 Oct 2025 11:16:32 +0200 Subject: [PATCH] test: try 10.000 cubes to render --- sandbox/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandbox/src/main.cpp b/sandbox/src/main.cpp index 047e4f4..f377f33 100644 --- a/sandbox/src/main.cpp +++ b/sandbox/src/main.cpp @@ -63,7 +63,7 @@ public: assert(batchEntt.HasComponent() && "batch doesn't have any batch component!"); assert(batchEntt.HasComponent() && "batch doesn't have any mesh component!"); // Generate 1000 random cubes - for (int i = 0; i < 1000; ++i) { + for (int i = 0; i < 10000; ++i) { auto cubeEntity = scene->CreateEntity(); float x = static_cast(rand()) / RAND_MAX * 200.f - 100.f; // range [-100, 100]