Function transform

Source
pub fn transform(
    n: [f32; 2],
    horizontal_offset: f32,
    vertical_offset: f32,
) -> [f32; 2]