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

Function CreateNewEntry

code/AssetLib/LWO/LWOLoader.cpp:898–907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896// ------------------------------------------------------------------------------------------------
897template <class T>
898inline void CreateNewEntry(T &chan, unsigned int srcIdx) {
899 if (!chan.name.length())
900 return;
901
902 chan.abAssigned[srcIdx] = true;
903 chan.abAssigned.resize(chan.abAssigned.size() + 1, false);
904
905 for (unsigned int a = 0; a < chan.dims; ++a)
906 chan.rawData.push_back(chan.rawData[srcIdx * chan.dims + a]);
907}
908
909// ------------------------------------------------------------------------------------------------
910template <class T>

Callers 1

LoadLWO2VertexMapMethod · 0.85

Calls 3

resizeMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected