[][src]Function leemaze::maze_directions3d

pub fn maze_directions3d(
    in_maze: &Vec<Vec<Vec<bool>>>,
    moverules: &AllowedMoves3D,
    from: &(usize, usize, usize),
    goal: &(usize, usize, usize)
) -> Option<Vec<usize>>

maze_directions3d - feed it a maze Vec<Vec<Vec>>, x y z axis movement rules (like over under around and through), entrance and exit coordinates and it should return Some(one of the very fastest paths through the maze), None for no path, or a empty path vec for a entrance and exit that are the same. Decode the steps taken on the path with the allowed move list. (If your move list is vec!(over, under, around, through), a path of 0, 0, 3 would be 'over over through")