MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / CopyPtrArray

Function CopyPtrArray

Engine/lib/assimp/code/Common/SceneCombiner.cpp:967–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

965// ------------------------------------------------------------------------------------------------
966template <typename Type>
967inline void CopyPtrArray(Type **&dest, const Type *const *src, ai_uint num) {
968 if (!num) {
969 dest = nullptr;
970 return;
971 }
972 dest = new Type *[num];
973 for (ai_uint i = 0; i < num; ++i) {
974 SceneCombiner::Copy(&dest[i], src[i]);
975 }
976}
977
978// ------------------------------------------------------------------------------------------------
979template <typename Type>

Callers 2

CopySceneMethod · 0.85
CopyMethod · 0.85

Calls 1

CopyFunction · 0.70

Tested by

no test coverage detected