Properly report the position in filename.

This commit is contained in:
Henner Zeller 2026-03-08 20:41:59 +01:00
parent 2da9567679
commit 3ec2add6e4

View file

@ -83,10 +83,9 @@ fn main() {
max_xy[2] = 0.0;
for n in 0..10 {
stage
.move_absolute_cartesian(max_xy * n as f64 / 10.0)
.unwrap();
store_image(n, origin, &args.output_directory, &cam.capture().unwrap());
let pos = max_xy * n as f64 / 10.0;
stage.move_absolute_cartesian(pos).unwrap();
store_image(n, pos, &args.output_directory, &cam.capture().unwrap());
}
}