Function nannou::ui::utils::vec2_add[][src]

pub fn vec2_add<T>(a: [T; 2], b: [T; 2]) -> [T; 2] where
    T: Add<T, Output = T> + Copy

Add a and b.