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

Function CopyPtrArray

code/Common/SceneCombiner.cpp:973–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

971// ------------------------------------------------------------------------------------------------
972template <typename Type>
973inline void CopyPtrArray(Type **&dest, const Type *const *src, ai_uint num) {
974 if (!num) {
975 dest = nullptr;
976 return;
977 }
978 dest = new Type *[num];
979 for (ai_uint i = 0; i < num; ++i) {
980 SceneCombiner::Copy(&dest[i], src[i]);
981 }
982}
983
984// ------------------------------------------------------------------------------------------------
985template <typename Type>

Callers 2

CopySceneMethod · 0.85
CopyMethod · 0.85

Calls 1

CopyFunction · 0.85

Tested by

no test coverage detected