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

Function parse

src/resource/mesh_fbx.cpp:249–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 }
248
249 s32 parse(Mesh &m, Buffer &buf, CompileOptions &opts)
250 {
251 FBXDocument fbx(default_allocator());
252 s32 err = fbx::parse(fbx, buf, opts);
253 ENSURE_OR_RETURN(FBX_RESOURCE, err == 0, opts);
254
255 err = parse_geometries(m, fbx, &fbx.scene->meshes, opts);
256 ENSURE_OR_RETURN(FBX_RESOURCE, err == 0, opts);
257
258 return parse_nodes(m, &fbx.scene->nodes, opts);
259 }
260
261} // namespace fbx
262

Callers

nothing calls this directly

Calls 2

parse_geometriesFunction · 0.70
parse_nodesFunction · 0.70

Tested by

no test coverage detected