Commit 9468a561 authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

fix ReynoldsSteeringModel such that it works again. Wall avoidance is missing.

parent 5b95d0fa
Pipeline #70708 passed with stages
in 64 minutes and 18 seconds
......@@ -124,7 +124,7 @@ public class ReynoldsSteeringModel implements MainModel {
}
private Pedestrian create(@NotNull final VPoint position, @NotNull final AttributesAgent attributesAgent) {
Pedestrian pedestrian = new PedestrianReynolds(attributesPedestrian, random);
Pedestrian pedestrian = new PedestrianReynolds(attributesAgent, random);
pedestrian.setPosition(position);
return pedestrian;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment