| 1185 | } |
| 1186 | |
| 1187 | static int ply_read_header_comment(p_ply ply) { |
| 1188 | assert(ply && ply->fp && ply->io_mode == PLY_READ); |
| 1189 | if (strcmp(BWORD(ply), "comment")) return 0; |
| 1190 | if (!ply_read_line(ply)) return 0; |
| 1191 | if (!ply_add_comment(ply, BLINE(ply))) return 0; |
| 1192 | if (!ply_read_word(ply)) return 0; |
| 1193 | return 1; |
| 1194 | } |
| 1195 | |
| 1196 | static int ply_read_header_obj_info(p_ply ply) { |
| 1197 | assert(ply && ply->fp && ply->io_mode == PLY_READ); |
no test coverage detected