Skip to content

Commit

Permalink
Apply linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kielczykowski-rai committed Dec 9, 2024
1 parent 42b83e1 commit b06c3e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private float CalculateDistanceToNextLane()
out var laneLenght);
return (1f - laneFollowingProgress) * laneLenght;
}

public float DistanceToClosestTrafficLane()
{
if (TrafficLightLane is null && !FollowingLanes.Contains(TrafficLightLane))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static T GetRandomElement<T>(IList<T> source)
? source[Random.Range(0, source.Count)]
: default;
}

/// <summary>
/// Calculates where on the lane the position currently is.
/// Helps to track progress of lane following functionality.
Expand Down

0 comments on commit b06c3e6

Please sign in to comment.