diff --git a/src/integer.rs b/src/integer.rs index 6a58c50..48758a1 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -650,6 +650,13 @@ impl TryFrom for Planar64Vec3{ ))) } } +impl std::fmt::Display for Planar64Vec3{ + fn fmt(&self,f:&mut std::fmt::Formatter<'_>)->std::fmt::Result{ + write!(f,"{:.3},{:.3},{:.3}", + Into::::into(self.x()),Into::::into(self.y()),Into::::into(self.z()), + ) + } +} impl std::ops::Neg for Planar64Vec3{ type Output=Planar64Vec3; #[inline]