Function add2

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

Adds two vectors.