Function PathTracer.HeuristicallyPopPortals
        
                HeuristicallyPopPortals
        
                (bool isStartOfPart, Vector3 point)
    
            
            Use a heuristic to determine when an agent has passed a portal and we need to pop it.
                Public
            
        void HeuristicallyPopPortals (
bool  |     isStartOfPart  |         |
point  |         
Use a heuristic to determine when an agent has passed a portal and we need to pop it.
Assumes the start point/end point of the first part is point, and simplifies the funnel accordingly. It uses the cached portals to determine if the agent has passed a portal. This works even if nodes have been destroyed.
Note
Does not update the start/end point of the first part.