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

Function ArrayDelete

code/PostProcessing/RemoveVCProcess.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64// Small helper function to delete all elements in a T** array using delete
65template <typename T>
66inline void ArrayDelete(T **&in, unsigned int &num) {
67 for (unsigned int i = 0; i < num; ++i)
68 delete in[i];
69
70 delete[] in;
71 in = nullptr;
72 num = 0;
73}
74
75// ------------------------------------------------------------------------------------------------
76// Executes the post processing step on the given imported data.

Callers 2

ExecuteMethod · 0.85
ProcessMeshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected