示例#1
0
 /// <summary></summary>
 public static bool Collide(SphereCollider s, Line l)
 {
     return(Collide(DistanceUtil.ToSphere(s), l));
 }
示例#2
0
 /// <summary></summary>
 public static bool Collide(SphereCollider s, Point p)
 {
     return(Collide(DistanceUtil.ToSphere(s), p));
 }
示例#3
0
 /// <summary></summary>
 public static bool Collide(SphereCollider s, BoxCollider b)
 {
     return(Collide(DistanceUtil.ToSphere(s), b));
 }
示例#4
0
 /// <summary></summary>
 public static bool Collide(MeshCollider m, SphereCollider s)
 {
     return(Collide(m, DistanceUtil.ToSphere(s)));
 }
示例#5
0
 /// <summary></summary>
 public static bool Collide(SphereCollider s1, SphereCollider s2)
 {
     return(Collide(DistanceUtil.ToSphere(s2), DistanceUtil.ToSphere(s2)));
 }