|
|
|
@ -104,7 +104,7 @@ const TransitionMap = [MAX_DIRECTIONS * 1024]u32; |
|
|
|
|
fn createTransitions(nodes: *const Nodes, directions: *const Directions) TransitionMap { |
|
|
|
|
var result = std.mem.zeroes(TransitionMap); |
|
|
|
|
for (nodes.*) |node| { |
|
|
|
|
if (node.current_label == 0) { |
|
|
|
|
if (node.line_index == 0) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|