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

Function ply_init

src/IO/rply.c:1088–1104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1086}
1087
1088static void ply_init(p_ply ply) {
1089 ply->element = NULL;
1090 ply->nelements = 0;
1091 ply->comment = NULL;
1092 ply->ncomments = 0;
1093 ply->obj_info = NULL;
1094 ply->nobj_infos = 0;
1095 ply->idriver = NULL;
1096 ply->odriver = NULL;
1097 ply->buffer[0] = '\0';
1098 ply->buffer_first = ply->buffer_last = ply->buffer_token = 0;
1099 ply->welement = 0;
1100 ply->wproperty = 0;
1101 ply->winstance_index = 0;
1102 ply->wlength = 0;
1103 ply->wvalue_index = 0;
1104}
1105
1106static void ply_element_init(p_ply_element element) {
1107 element->name[0] = '\0';

Callers 1

ply_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected