| 36 | } |
| 37 | |
| 38 | void PatchNode::transform(const Matrix3& transform) |
| 39 | { |
| 40 | foreachVertex([&](PatchControl& vertex) |
| 41 | { |
| 42 | vertex.texcoord = transform * vertex.texcoord; |
| 43 | }); |
| 44 | |
| 45 | // We have to force the patch to update its tesselation since |
| 46 | // modifying the "transformed" control point set won't trigger this |
| 47 | _patch.updateTesselation(true); |
| 48 | } |
| 49 | |
| 50 | void PatchNode::transformComponents(const Matrix3& transform) |
| 51 | { |
nothing calls this directly
no test coverage detected