MCPcopy Create free account
hub / github.com/defold/defold / Map

Method Map

engine/dlib/src/dmsdk/dlib/array.h:594–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592
593template <typename T>
594void dmArray<T>::Map(void (*fn)(T* value, void* ctx), void* ctx)
595{
596 for (uint32_t i = 0; i < Size(); ++i)
597 {
598 fn(&m_Front[i], ctx);
599 }
600}
601
602#endif // DMSDK_ARRAY_H

Callers 15

CopyTimestampsFunction · 0.80
TESTFunction · 0.80
InitializeMethod · 0.80
CreateConstantBufferFunction · 0.80
resetNormalsAndAreasMethod · 0.80
applyForcesMethod · 0.80
integrateMethod · 0.80

Calls 2

fnFunction · 0.85
SizeClass · 0.50

Tested by 1

TESTFunction · 0.64