From ce3c986ad217cc64ba3e3e67e6f8d63dae2747c7 Mon Sep 17 00:00:00 2001 From: Rodolfo Barcelli Jo Date: Fri, 23 Jan 2026 12:49:36 +0800 Subject: [PATCH] Remove prints and change defines --- examples/example1/example1.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/example1/example1.c b/examples/example1/example1.c index 05641a9..4e75000 100644 --- a/examples/example1/example1.c +++ b/examples/example1/example1.c @@ -1,5 +1,5 @@ -#define BECS_MAX_ENTITIES 100000 -#define BECS_MAX_COMPONENTS 4 +#define BECS_MAX_ENTITIES 100000ULL +#define BECS_MAX_COMPONENTS 4ULL #define BECS_IMPLEMENTATION #include "../../becs.h" #include @@ -109,7 +109,6 @@ void DrawCircleBatched(Vector2 *positions, float *radii, Color *colors, uint32_t } } rlEnd(); - printf("Drawing %d circles\n", count); } void RenderSystemBatched(BECS_ECS *ecs, float dt, Position *pos, ParticleData *data, Vector2 *posArray, float *radArray, Color *colArray) { @@ -122,7 +121,6 @@ void RenderSystemBatched(BECS_ECS *ecs, float dt, Position *pos, ParticleData *d colArray[batchCount]=(Color){255,255,255,(unsigned char)(alpha*255)}; batchCount++; } - printf("entityCount %u, batchCount: %u\n", entityCount, batchCount); DrawCircleBatched(posArray, radArray, colArray, batchCount, 16); } @@ -171,7 +169,7 @@ int main(void) { // Spawn particle on mouse click if (IsMouseButtonDown(MOUSE_LEFT_BUTTON)) { Vector2 mousePos = GetMousePosition(); - for (uint32_t i = 0; i < 60; i++) { + for (uint32_t i = 0; i < 100; i++) { SpawnParticle(&ecs, posID, velID, accID, dataID, mousePos.x, mousePos.y); } }