diff --git a/rtiow/vec3/src/vec3.rs b/rtiow/vec3/src/vec3.rs index 8e5158a..183e029 100644 --- a/rtiow/vec3/src/vec3.rs +++ b/rtiow/vec3/src/vec3.rs @@ -102,7 +102,7 @@ impl From<[f32; 3]> for Vec3 { impl fmt::Display for Vec3 { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "{} {} {}", self.x, self.y, self.z) + write!(f, "{:>6.2} {:>6.2} {:>6.2}", self.x, self.y, self.z) } }