// Token: 0x0600025C RID: 604 RVA: 0x0000A380 File Offset: 0x00008580 public static ICollection <Vector2> IntersectionPointsWith(this Ray2 ray, Circle2 circle) { IntersectionRay2Circle2 intersectionRay2Circle = new IntersectionRay2Circle2(ray, circle); intersectionRay2Circle.Find(); List <Vector2> list = new List <Vector2>(); Vector2[] array = new Vector2[] { intersectionRay2Circle.Point0, intersectionRay2Circle.Point1 }; for (int i = 0; i < intersectionRay2Circle.Quantity; i++) { list.Add(array[i]); } return(list); }
// Token: 0x0600025B RID: 603 RVA: 0x0000A360 File Offset: 0x00008560 public static bool Intersects(this Ray2 ray, Circle2 circle) { IntersectionRay2Circle2 intersectionRay2Circle = new IntersectionRay2Circle2(ray, circle); return(intersectionRay2Circle.Find()); }