| 1194 | } |
| 1195 | |
| 1196 | static int ply_read_header_obj_info(p_ply ply) { |
| 1197 | assert(ply && ply->fp && ply->io_mode == PLY_READ); |
| 1198 | if (strcmp(BWORD(ply), "obj_info")) return 0; |
| 1199 | if (!ply_read_line(ply)) return 0; |
| 1200 | if (!ply_add_obj_info(ply, BLINE(ply))) return 0; |
| 1201 | if (!ply_read_word(ply)) return 0; |
| 1202 | return 1; |
| 1203 | } |
| 1204 | |
| 1205 | static int ply_read_header_property(p_ply ply) { |
| 1206 | p_ply_element element = NULL; |
no test coverage detected