external to_array : t -> float array = "vec2_to_array"