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

Method getVertexMax

core/src/processing/opengl/PShapeOpenGL.java:682–703  ·  view source on GitHub ↗
(PVector max)

Source from the content-addressed store, hash-verified

680
681
682 protected void getVertexMax(PVector max) {
683 updateTessellation();
684
685 if (family == GROUP) {
686 for (int i = 0; i < childCount; i++) {
687 PShapeOpenGL child = (PShapeOpenGL) children[i];
688 child.getVertexMax(max);
689 }
690 } else {
691 if (hasPolys) {
692 tessGeo.getPolyVertexMax(max, firstPolyVertex, lastPolyVertex);
693 }
694 if (is3D()) {
695 if (hasLines) {
696 tessGeo.getLineVertexMax(max, firstLineVertex, lastLineVertex);
697 }
698 if (hasPoints) {
699 tessGeo.getPointVertexMax(max, firstPointVertex, lastPointVertex);
700 }
701 }
702 }
703 }
704
705
706 protected int getVertexSum(PVector sum, int count) {

Callers 3

getWidthMethod · 0.95
getHeightMethod · 0.95
getDepthMethod · 0.95

Calls 5

updateTessellationMethod · 0.95
getPolyVertexMaxMethod · 0.80
getLineVertexMaxMethod · 0.80
getPointVertexMaxMethod · 0.80
is3DMethod · 0.45

Tested by

no test coverage detected