Function piston_window::math::add

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

Adds two vectors.