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

Method Patch

radiantcore/patch/Patch.cpp:48–56  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

46
47// Constructor
48Patch::Patch(PatchNode& node) :
49 _node(node),
50 _undoStateSaver(nullptr),
51 _transformChanged(false),
52 _tesselationChanged(true),
53 _shader(texdef_name_default())
54{
55 construct();
56}
57
58// Copy constructor (create this patch from another patch)
59Patch::Patch(const Patch& other, PatchNode& node) :

Callers

nothing calls this directly

Calls 4

constructFunction · 0.85
copy_ctrlFunction · 0.85
beginMethod · 0.45
setMaterialNameMethod · 0.45

Tested by

no test coverage detected