Function JobRVO.LinearProgram2DCollapsedSegment

LinearProgram2DCollapsedSegment (NativeArray<ORCALine> lines, int numLines, int startLine, float radius, float2 currentResult, float2 optimalVelocityStart, float2 optimalVelocityDir, float optimalTLeft, float optimalTRight)

Like LinearProgram2D, but the optimal velocity space is a segment instead of a point, however the current result has collapsed to a point.

Public Static
LinearProgram2Output LinearProgram2DCollapsedSegment (

NativeArray<ORCALine>

lines

int

numLines

int

startLine

float

radius

float2

currentResult

float2

optimalVelocityStart

float2

optimalVelocityDir

float

optimalTLeft

float

optimalTRight

)

Like LinearProgram2D, but the optimal velocity space is a segment instead of a point, however the current result has collapsed to a point.