MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / copyData

Function copyData

CesiumGltfReader/src/decodeDraco.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98template <typename TSource, typename TDestination>
99void copyData(
100 const TSource* pSource,
101 TDestination* pDestination,
102 int64_t length) {
103 std::transform(pSource, pSource + length, pDestination, [](auto x) {
104 return static_cast<TDestination>(x);
105 });
106}
107
108template <typename T>
109void copyData(const T* pSource, T* pDestination, int64_t length) {

Callers 1

copyDecodedIndicesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected