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