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

Function geometry_names

src/resource/mesh.cpp:387–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 }
386
387 static void geometry_names(Vector<DynamicString> &names, const Mesh &m, const DynamicString &geometry)
388 {
389 auto cur = hash_map::begin(m._nodes);
390 auto end = hash_map::end(m._nodes);
391 for (; cur != end; ++cur) {
392 HASH_MAP_SKIP_HOLE(m._nodes, cur);
393
394 if (cur->second._geometry == geometry)
395 vector::push_back(names, cur->first);
396 }
397 }
398
399 static OBB obb(Geometry &g)
400 {

Callers 1

writeFunction · 0.85

Calls 2

beginFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected