|
|
@ -129,8 +129,8 @@ PlyElement* ply_load_mesh(char* filename) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(format_id == PLY_FORMAT_INVALID) {
|
|
|
|
if(format_id != PLY_FORMAT_BE && format_id != PLY_FORMAT_LE) {
|
|
|
|
fprintf(stderr, "unknown format %s\n", line);
|
|
|
|
fprintf(stderr, "can only parse binary PLY files\n");
|
|
|
|
goto close;
|
|
|
|
goto close;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|