(PShape root)
| 503 | |
| 504 | |
| 505 | protected void updateRoot(PShape root) { |
| 506 | this.root = (PShapeOpenGL) root; |
| 507 | if (family == GROUP) { |
| 508 | for (int i = 0; i < childCount; i++) { |
| 509 | PShapeOpenGL child = (PShapeOpenGL)children[i]; |
| 510 | child.updateRoot(root); |
| 511 | } |
| 512 | } |
| 513 | } |
| 514 | |
| 515 | |
| 516 | /////////////////////////////////////////////////////////// |