As Emil has written, debugging layout in egui can be tricky. Extra tricky is when working with Pos2 in a coordinate system normalized to 0..=1. In this case, the debugging output for Pos2 formatted as {:.1} gives too little information. This is especially apparent when writing tests:
As Emil has written, debugging layout in egui can be tricky. Extra tricky is when working with Pos2 in a coordinate system normalized to 0..=1. In this case, the debugging output for Pos2 formatted as
{:.1}
gives too little information. This is especially apparent when writing tests:I would humbly request for the Debug trait to give at least 2 decimals of the x/y values.