MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / dCopyArray

Function dCopyArray

Engine/source/platform/platform.h:539–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537
538// Helper function to copy one array into another of different type
539template<class T,class S> void dCopyArray(T *dst, const S *src, dsize_t size)
540{
541 for (dsize_t i = 0; i < size; i++)
542 dst[i] = (T)src[i];
543}
544
545extern void* dMemcpy(void *dst, const void *src, dsize_t size);
546extern void* dMemmove(void *dst, const void *src, dsize_t size);

Callers 13

importSequencesMethod · 0.85
fit10_DOP_XMethod · 0.85
fit10_DOP_YMethod · 0.85
fit10_DOP_ZMethod · 0.85
fit18_DOPMethod · 0.85
fit26_DOPMethod · 0.85
dumpPrimitivesMethod · 0.85
assembleMethod · 0.85
disassembleMethod · 0.85
eraseStatesFunction · 0.85
addSequenceMethod · 0.85
OptimizeTriangleOrderingFunction · 0.85

Calls 1

dMemcpyFunction · 0.50

Tested by

no test coverage detected