# Function graphics::math::sub
[−]
[src]

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

Subtracts 'b' from 'a'.

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

Subtracts 'b' from 'a'.