Function piston_window::math::add[][src]

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

Adds two vectors.