diff --git a/src/DotRecast.Detour.Crowd/DtCrowdNeighbour.cs b/src/DotRecast.Detour.Crowd/DtCrowdNeighbour.cs index 5f19093..65fe15c 100644 --- a/src/DotRecast.Detour.Crowd/DtCrowdNeighbour.cs +++ b/src/DotRecast.Detour.Crowd/DtCrowdNeighbour.cs @@ -5,12 +5,9 @@ /// @see dtCrowdAgent::neis, dtCrowd public readonly struct DtCrowdNeighbour { - public readonly DtCrowdAgent agent; - - /// < The index of the neighbor in the crowd. - public readonly float dist; - - /// < The distance between the current agent and the neighbor. + public readonly DtCrowdAgent agent; // < The index of the neighbor in the crowd. + public readonly float dist; // < The distance between the current agent and the neighbor. + public DtCrowdNeighbour(DtCrowdAgent agent, float dist) { this.agent = agent;