Function Funnel.Calculate

Calculate (FunnelPortals funnel, bool splitAtEveryPortal)

Calculate the shortest path through the funnel.

Public Static
Calculate (refNativeCircularBuffer<float4> unwrappedPortals, refNativeCircularBuffer<float3> leftPortals, refNativeCircularBuffer<float3> rightPortals, ref float3 startPoint, ref float3 endPoint, refUnsafeSpan<int> funnelPath, int maxCorners, ref float3 projectionAxis, out bool lastCorner)

Calculate the shortest path through the funnel.

Private Static