Compare commits

3 Commits

View File

@@ -157,14 +157,6 @@ pub const Simulator = struct {
std.debug.panic("Intersection selection failure: {}\n", .{err});
};
defer self.allocator.free(intersections);
// DEBUG TODO REMOVE
std.debug.print("Displaying intersection position and the intersected road:\n", .{});
for (0..intersections.len) |i| {
const int = intersections[i];
std.debug.print("Road ID={d} Pos: ({d}, {d})\n", .{int.road.id, int.pos.x, int.pos.y});
}
self.splitRoadsByIntersections(intersections, temp, cur_node);
self.node_man.temp_node = if (self.auto_continue) cur_node else null;