perp

Function perp 

Source
pub fn perp<T: SignedNumber>(a: Vec2<T>) -> Vec2<T>
Expand description

returns the perpedicular vector of a performing anti-clockwise rotation by 90 degrees