This commit is contained in:
jonathan santis 2024-11-28 11:50:49 +01:00
parent d2722d316c
commit 2669a213fc
2 changed files with 2 additions and 1 deletions

View File

@ -205,12 +205,13 @@ pub fn main() anyerror!void {
rl.beginBlendMode(rl.BlendMode.blend_additive); 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}); 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); try plot.log(file,plotStr);
emitter.update(texture); emitter.update(texture);
rl.endBlendMode();
} }
plot.close(file); plot.close(file);
} }

Binary file not shown.