(PVector max)
| 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) { |
no test coverage detected