remove unnecessary elvis. He lives, but not needed here.
This commit is contained in:
parent
fcf0600d0c
commit
35efce087e
@ -206,7 +206,7 @@ public class Obstacles(public val obstacles: List<Obstacle>) {
|
|||||||
connection.obstacleIndex,
|
connection.obstacleIndex,
|
||||||
connection.direction,
|
connection.direction,
|
||||||
endArc
|
endArc
|
||||||
) ?: error("No tangents between obstacle and endpoint")
|
)
|
||||||
|
|
||||||
if (remainingObstacleIndices.none { obstacles[it].intersects(tangentToEnd.tangentTrajectory) }) return setOf(
|
if (remainingObstacleIndices.none { obstacles[it].intersects(tangentToEnd.tangentTrajectory) }) return setOf(
|
||||||
TangentPath(tangents + tangentToEnd)
|
TangentPath(tangents + tangentToEnd)
|
||||||
|
Loading…
Reference in New Issue
Block a user