Skip to main content

perp

Function perp 

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

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