Function dir_vec

Source
fn dir_vec(direction: u8, size: Vec2) -> Vec2
Expand description

Where the incoming clip travels from, mirroring compose::dir_vec (0 left, 1 right, 2 up, 3 down).