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

Function assignPatchControls

radiantcore/patch/algorithm/General.cpp:198–206  ·  view source on GitHub ↗

Copies all values from source to target, until the source sequence is depleted Returns the new position of the target iterator

Source from the content-addressed store, hash-verified

196// Copies all values from source to target, until the source sequence is depleted
197// Returns the new position of the target iterator
198inline void assignPatchControls(const PatchControlIterator& source, PatchControlIterator& target)
199{
200 auto& t = target;
201 for (auto s = source; s.isValid() && t.isValid(); ++s, ++t)
202 {
203 t->vertex = s->vertex;
204 t->texcoord = s->texcoord;
205 }
206}
207
208enum class EdgeType
209{

Callers 1

createdMergedPatchFunction · 0.85

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected