diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-09-06 23:04:12 -0500 | 
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-09-06 23:04:12 -0500 | 
| commit | 78742e53f2a119b7cc9767c4ac211941521d5bf2 (patch) | |
| tree | bf6557253fc4c4b9ac1e4723ae531490f1eddff2 /src | |
| parent | 562e39cb2df72236b444a59f723243c7ace22417 (diff) | |
| download | particle-sim-78742e53f2a119b7cc9767c4ac211941521d5bf2.tar.gz | |
fix(aarm64): Fixed incorrect particle count
Fixed issue where number of particles was significantly less than
cfg.particleCount on aarm64 fast release build
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.zig | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/main.zig b/src/main.zig index 118609a..6898890 100644 --- a/src/main.zig +++ b/src/main.zig @@ -43,6 +43,7 @@ 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});                  try particles.append(gpa.allocator(), part.createParticle());              }          } | 
