MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / copy_ctrl

Function copy_ctrl

radiantcore/patch/PatchControl.h:14–17  ·  view source on GitHub ↗

Copy all the controls from another ControlArray (from to ) to the ControlArray

Source from the content-addressed store, hash-verified

12
13// Copy all the controls from another ControlArray (from <begin> to <end>) to the ControlArray <ctrl>
14inline void copy_ctrl(PatchControlIter ctrl, PatchControlConstIter begin, PatchControlConstIter end)
15{
16 std::copy(begin, end, ctrl);
17}
18
19inline void PatchControlArray_invert(PatchControlArray& ctrl, std::size_t width, std::size_t height)
20{

Callers 2

PatchMethod · 0.85
PatchControlArray_invertFunction · 0.85

Calls 1

copyFunction · 0.50

Tested by

no test coverage detected