MCPcopy Index your code
hub / github.com/benfry/processing4 / updateRoot

Method updateRoot

core/src/processing/opengl/PShapeOpenGL.java:510–518  ·  view source on GitHub ↗
(PShape root)

Source from the content-addressed store, hash-verified

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 ///////////////////////////////////////////////////////////

Callers 1

addChildMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected