diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-09-09 17:32:19 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-09-09 17:32:19 -0500 |
| commit | 5a0234c0eff069e13fdef204d810d994ab7858f9 (patch) | |
| tree | 5110248546a7887a4c9a6e886dd6c47d78e450f7 /src/main.zig | |
| parent | 3bb4d81a9e32feabd67783e163287c26b519f92d (diff) | |
| download | particle-sim-5a0234c0eff069e13fdef204d810d994ab7858f9.tar.gz | |
UI: Expanded configuration options
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index b0705be..00dd477 100644 --- a/src/main.zig +++ b/src/main.zig @@ -47,7 +47,8 @@ pub fn main() !void { while (!rl.windowShouldClose()) { if (particles.items(.x).len < cfg.particleCount) { for (0..@intCast(cfg.particleCount - @as(i32, @intCast(particles.items(.x).len)))) |_| { - std.debug.print("without this print statement it breaks on arm idk why {d}\n", .{cfg.particleCount}); + //std.debug.print("without this print statement it breaks on arm idk why {d}\n", .{cfg.particleCount}); + _ = cfg.particleCount; try particles.append(gpa.allocator(), part.createParticle()); } } |
