piston_window::math
pub fn perp<T>(v: [T; 2]) -> [T; 2] where T: Float,
Creates a perpendicular vector.