// `p` for position, `d` for direction. fn render_ship() { let a = [5, 4, 3]; let b = [5, 4, 3]; // Rotate the ship according to its direction for i in 0..b.length() { } }