diff --git a/geometry.go b/geometry.go index 599c36826f7a756ed59eca68a197ce6df1d51acf..70404bcc69866fbe0543ba08418f4c083d5fc9a8 100644 --- a/geometry.go +++ b/geometry.go @@ -459,7 +459,7 @@ func (c Circle) Intersect(d Circle) Circle { return C(0, center) } - radius := math.Min(0, c.Center.To(d.Center).Len()-(c.Radius+d.Radius)) + radius := c.Center.To(d.Center).Len() - (c.Radius + d.Radius) return Circle{ Radius: math.Abs(radius),