/// <summary>Calcule la distance minimum entre un point et un mesh. Si c'est négatif, indique la profondeur du point dans le mesh.</summary>
        public static float Dist(MeshCollider m, Point p)
        {
            float max = float.MinValue;

            foreach (Plane pl in m.GetPlanes())
            {
                max = Mathf.Max(DistSigned(pl, p), max);
            }
            float d = (max > 0) ? Dist(m.ClosestPoint(p), p) : max;

            return(d);
            //return Dist(m.ClosestPoint(p), p);
        }