comment the function
This commit is contained in:
parent
557b0b7121
commit
b2f869fe2b
1 changed files with 8 additions and 0 deletions
|
@ -978,6 +978,14 @@ impl Matrix {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Retrieves the immediate connections to adjacent cells and returns a list.
|
||||||
|
///
|
||||||
|
/// Returns a vector with pairs of this content:
|
||||||
|
///
|
||||||
|
/// (
|
||||||
|
/// (this_cell_connection_dir, this_cell_node_io_index),
|
||||||
|
/// (other_cell_connection_dir, other_cell_node_io_index, (other_cell_x, other_cell_y))
|
||||||
|
/// )
|
||||||
pub fn get_connections(
|
pub fn get_connections(
|
||||||
&self,
|
&self,
|
||||||
x: usize,
|
x: usize,
|
||||||
|
|
Loading…
Reference in a new issue