test: try 10.000 cubes to render

This commit is contained in:
2025-10-24 11:16:32 +02:00
parent 063b228b97
commit ee8e6012c8

View File

@ -63,7 +63,7 @@ public:
assert(batchEntt.HasComponent<batch>() && "batch doesn't have any batch component!");
assert(batchEntt.HasComponent<mesh>() && "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<float>(rand()) / RAND_MAX * 200.f - 100.f; // range [-100, 100]