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