示例#1
0
 /// <summary>
 /// Returns true if the point intersects the sphere
 /// </summary>
 public bool Contains(Vector3 point)
 {
     return(Intersect.PointSphere(point, center, radius));
 }
示例#2
0
 public bool Contains(Vector2 point)
 {
     return(Intersect.PointCircle(point, center, radius));
 }