Function PathTracer.RemainingDistanceLowerBound

RemainingDistanceLowerBound (inUnsafeSpan<float3> nextCorners, in float3 endOfPart, inNativeMovementPlane movementPlane)

Calculates a lower bound on the remaining distance to the end of the path part.

Public Static
float RemainingDistanceLowerBound (

inUnsafeSpan<float3>

nextCorners

in float3

endOfPart

inNativeMovementPlane

movementPlane

)

Calculates a lower bound on the remaining distance to the end of the path part.

It assumes the agent will follow the path, and then move in a straight line to the end of the path part.