private double dist(XnaPoint p, XnaPoint center) { return Math.Sqrt(Math.Pow(p.X - center.X, 2) + Math.Pow(p.Y - center.Y, 2)); }