pub fn transform_dims(t: u8, w: u32, h: u32) -> (u32, u32)
Dims of a tile after D8 transform t (swapped for rotations).
t