MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / ply_read_header_comment

Function ply_read_header_comment

src/IO/rply.c:1187–1194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1185}
1186
1187static 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
1196static int ply_read_header_obj_info(p_ply ply) {
1197 assert(ply && ply->fp && ply->io_mode == PLY_READ);

Callers 2

ply_read_headerFunction · 0.85
ply_read_header_elementFunction · 0.85

Calls 3

ply_read_lineFunction · 0.85
ply_add_commentFunction · 0.85
ply_read_wordFunction · 0.85

Tested by

no test coverage detected