(PShape root)
| 508 | |
| 509 | |
| 510 | protected void updateRoot(PShape root) { |
| 511 | this.root = (PShapeOpenGL) root; |
| 512 | if (family == GROUP) { |
| 513 | for (int i = 0; i < childCount; i++) { |
| 514 | PShapeOpenGL child = (PShapeOpenGL)children[i]; |
| 515 | child.updateRoot(root); |
| 516 | } |
| 517 | } |
| 518 | } |
| 519 | |
| 520 | |
| 521 | /////////////////////////////////////////////////////////// |