diff --git a/src/main.zig b/src/main.zig index a7f8bc9..c5d38fd 100644 --- a/src/main.zig +++ b/src/main.zig @@ -205,12 +205,13 @@ pub fn main() anyerror!void { rl.beginBlendMode(rl.BlendMode.blend_additive); - rl.endBlendMode(); + plotStr = try std.fmt.bufPrint(&plotStrBuf,"{d}, {d}, {d}, {d}\n",.{emitter.particles[0].acceleration.a.x,emitter.particles[0].position.a.x,emitter.particles[0].velocity.a.x,emitter.particles[0].show}); try plot.log(file,plotStr); emitter.update(texture); + rl.endBlendMode(); } plot.close(file); } diff --git a/zig-out/bin/raylib-test b/zig-out/bin/raylib-test index d83ced3..2e848b4 100755 Binary files a/zig-out/bin/raylib-test and b/zig-out/bin/raylib-test differ