add derives for Sd8 and Sd16
@@ -10,8 +10,10 @@ impl SignedDistance for f32 {
}
/// A signed distance value in the range `[-1.0, 1.0]` with 8 bits of precision.
+#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
pub struct Sd8(pub i8);
/// A signed distance value in the range `[-1.0, 1.0]` with 16 bits of precision.
+#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
pub struct Sd16(pub i16);
impl Sd8 {
