vertices, indices = parse_obj("model.obj")
with open("model.h", "w") as f:
    f.write("const float vertices[] = {\n")
    for v in vertices: 
        f.write(f"  {v.x}f, {v.y}f, {v.z}f,\n")
    f.write("};\n\n")
    f.write("const uint32_t indices[] = {\n")
    for i in indices: 
        f.write(f"  {i[0]}, {i[1]}, {i[2]},\n")
    f.write("};")