Skip to main content

footprint_index

Function footprint_index 

Source
pub fn footprint_index(i: i32, j: i32, w: i32, h: i32, degrees: i32) -> usize
Expand description

Index into a footprint string (rows separated by one character, last row first) of cell (i, j) of a w × h rectangle placed with degrees rotation (w, h are the rotated sides).

Original: FUN_1400a2a50, FUN_1400a30f0.