| 83 | } |
| 84 | |
| 85 | void 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 | |
| 93 | void TextureFlipper::FlipPatch(IPatch& patch, int flipAxis) |
| 94 | { |
nothing calls this directly
no test coverage detected