Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
593
template <typename T>
594
void 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
CopyTimestamps
Function · 0.80
TEST
Function · 0.80
Initialize
Method · 0.80
TextureBufferUploadHelper
Function · 0.80
DeviceBufferUploadRangeHelper
Function · 0.80
CreateConstantBuffer
Function · 0.80
resetNormalsAndAreas
Method · 0.80
normalizeNormalsAndAreas
Method · 0.80
executeUpdateSoftBodies
Method · 0.80
applyForces
Method · 0.80
integrate
Method · 0.80
updatePositionsFromVelocities
Method · 0.80
Calls
2
fn
Function · 0.85
Size
Class · 0.50
Tested by
1
TEST
Function · 0.64