Skip to content

Commit

Permalink
UPD: trail builder now uses a graph implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
christhegoalie committed Aug 30, 2024
1 parent 0d8c6bc commit 0644ed3
Show file tree
Hide file tree
Showing 3 changed files with 262 additions and 126 deletions.
11 changes: 6 additions & 5 deletions trail_builder/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ func readTypedGroup(filePath string) map[string]typedGroup {
out[name] = v
} else {
v := typedGroup{
name: name,
reverseName: "Reversed " + name,
_points: []point{pt},
Type: Type_Unknown,
_distance: 0,
name: name,
reverseName: "Reversed " + name,
_points: []point{pt},
Type: Type_Unknown,
_distance: 0,
_revDistance: 0,
}
if typeString, ok := vals["type"]; ok {
switch strings.ToLower(typeString) {
Expand Down
Loading

0 comments on commit 0644ed3

Please sign in to comment.