Beispiel #1
0
 public bool Inside(Vector3 p, ref float distance)
 {
     if (IsNotFacePoints(p))
     {
         float dist = GeoPlaneUtils.PointDistanceToPlane(mPlane, p);
         if (dist < 0)
         {
             return(false);
         }
         distance = dist;
         return(true);
     }
     return(false);
 }