Skip to main content

to_phys

Function to_phys 

Source
fn to_phys(w: u8, r: &Rect, ext: (i32, i32)) -> (Rect, (i32, i32))
Expand description

世界 w の論理矩形(箱の外形 ext = (幅, 高さ) の枠の中)→ 物理矩形と物理の外形。