(float shininess)
| 2615 | |
| 2616 | |
| 2617 | @Override |
| 2618 | public void setShininess(float shininess) { |
| 2619 | if (openShape) { |
| 2620 | PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setShininess()"); |
| 2621 | return; |
| 2622 | } |
| 2623 | |
| 2624 | if (family == GROUP) { |
| 2625 | for (int i = 0; i < childCount; i++) { |
| 2626 | PShapeOpenGL child = (PShapeOpenGL) children[i]; |
| 2627 | child.setShininess(shininess); |
| 2628 | } |
| 2629 | } else { |
| 2630 | setShininessImpl(shininess); |
| 2631 | } |
| 2632 | } |
| 2633 | |
| 2634 | |
| 2635 | protected void setShininessImpl(float shininess) { |
no test coverage detected