From c1717edef809ee57a15ab538817fc50cb6b9e23d Mon Sep 17 00:00:00 2001 From: jonathan santis Date: Thu, 28 Nov 2024 15:21:57 +0100 Subject: [PATCH] repel1+ --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index 955310d..1179b8f 100644 --- a/src/main.zig +++ b/src/main.zig @@ -81,7 +81,7 @@ const Emitter = struct { pub fn init(self: *Emitter) !void { var xrnr = randMinMaxFloat(-1, 1); var yrnr = randMinMaxFloat(-0.5, 0.5); - self.particles = try allocator.alloc(Particle, 10000); + self.particles = try allocator.alloc(Particle, 500000); for (self.particles) |*p| { xrnr = randMinMaxFloat(-2, 2); yrnr = randMinMaxFloat(-2, 2);