MCPcopy Create free account
hub / github.com/crownengine/crown / parse_internal

Function parse_internal

src/resource/mesh_obj.cpp:265–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 }
264
265 static s32 parse_internal(Mesh &m, Buffer &buf, CompileOptions &opts, const char *filename)
266 {
267 OBJDocument obj;
268 s32 err = parse_scene(obj, buf, opts, filename);
269 ENSURE_OR_RETURN(OBJ_RESOURCE, err == 0, opts);
270
271 err = parse_geometries(m, &obj.scene->meshes, opts);
272 ENSURE_OR_RETURN(OBJ_RESOURCE, err == 0, opts);
273
274 return parse_nodes(m, &obj.scene->nodes, opts);
275 }
276
277 s32 parse(Mesh &m, Buffer &buf, CompileOptions &opts)
278 {

Callers 1

parseFunction · 0.70

Calls 3

parse_sceneFunction · 0.85
parse_geometriesFunction · 0.70
parse_nodesFunction · 0.70

Tested by

no test coverage detected