(PGraphicsOpenGL pg, PShape src, PShape dest)
| 574 | */ |
| 575 | |
| 576 | static public void copyGroup(PGraphicsOpenGL pg, PShape src, PShape dest) { |
| 577 | copyMatrix(src, dest); |
| 578 | copyStyles(src, dest); |
| 579 | copyImage(src, dest); |
| 580 | |
| 581 | for (int i = 0; i < src.getChildCount(); i++) { |
| 582 | PShape c = createShape(pg, src.getChild(i)); |
| 583 | dest.addChild(c); |
| 584 | } |
| 585 | } |
| 586 | |
| 587 | |
| 588 | /* |
no test coverage detected