[−][src]Function graphics::math::add
pub fn add<T>(a: [T; 2], b: [T; 2]) -> [T; 2] where
T: Copy + Add<T, Output = T>,
Adds two vectors.
pub fn add<T>(a: [T; 2], b: [T; 2]) -> [T; 2] where
T: Copy + Add<T, Output = T>,
Adds two vectors.