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

Function CopyArray

engine/modelc/src/modelimporter_gltf.cpp:720–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718// a helper to avoid typos and under/overruns
719template<typename T, int N>
720static void CopyArray(T (&src)[N], T (&dst)[N])
721{
722 memcpy(dst, src, sizeof(dst));
723}
724
725static PbrMetallicRoughness* LoadPbrMetallicRoughness(cgltf_pbr_metallic_roughness* in, PbrMetallicRoughness* out, dmHashTable64<void*>* cache)
726{

Callers 6

LoadPbrMetallicRoughnessFunction · 0.85
LoadSpecularFunction · 0.85
LoadVolumeFunction · 0.85
LoadSheenFunction · 0.85
LoadMaterialsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected