MCPcopy Create free account
hub / github.com/assimp/assimp / PopulateMeshCache

Function PopulateMeshCache

code/AssetLib/IFC/IFCGeometry.cpp:857–863  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

855
856// ------------------------------------------------------------------------------------------------
857void PopulateMeshCache(const Schema_2x3::IfcRepresentationItem& item,
858 const std::set<unsigned int>& mesh_indices,
859 unsigned int mat_index,
860 ConversionData& conv) {
861 ConversionData::MeshCacheIndex idx(&item, mat_index);
862 conv.cached_meshes[idx] = mesh_indices;
863}
864
865// ------------------------------------------------------------------------------------------------
866bool ProcessRepresentationItem(const Schema_2x3::IfcRepresentationItem& item,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected