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

Method FlipNode

radiantcore/selection/algorithm/Texturing.cpp:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void TextureFlipper::FlipNode(const textool::INode::Ptr& node, int flipAxis)
86{
87 const auto& bounds = node->localAABB();
88 TextureFlipper flipper({ bounds.origin.x(), bounds.origin.y() }, flipAxis);
89
90 flipper.processNode(node);
91}
92
93void TextureFlipper::FlipPatch(IPatch& patch, int flipAxis)
94{

Callers

nothing calls this directly

Calls 3

xMethod · 0.80
yMethod · 0.80
processNodeMethod · 0.45

Tested by

no test coverage detected