Function minutiae::util::get_coords [] [src]

pub fn get_coords(index: usize, universe_size: usize) -> (usize, usize)

Given an index of the universe and the universe's size returns X and Y coordinates.