Ejemplo n.º 1
0
 public bool Equals(SDFMaterialKey other)
 {
     return
         (Softness.Equals(other.Softness) &&
          Dilate.Equals(other.Dilate) &&
          Thickness.Equals(other.Thickness) &&
          OutlineColor.Equals(other.OutlineColor) &&
          GradientEnabled.Equals(other.GradientEnabled) &&
          Gradient.GetHashCode().Equals(other.Gradient.GetHashCode()) &&
          GradientAngle.Equals(other.GradientAngle));
 }