(int emissive)
| 2542 | |
| 2543 | |
| 2544 | @Override |
| 2545 | public void setEmissive(int emissive) { |
| 2546 | if (openShape) { |
| 2547 | PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setEmissive()"); |
| 2548 | return; |
| 2549 | } |
| 2550 | |
| 2551 | if (family == GROUP) { |
| 2552 | for (int i = 0; i < childCount; i++) { |
| 2553 | PShapeOpenGL child = (PShapeOpenGL) children[i]; |
| 2554 | child.setEmissive(emissive); |
| 2555 | } |
| 2556 | } else { |
| 2557 | setEmissiveImpl(emissive); |
| 2558 | } |
| 2559 | } |
| 2560 | |
| 2561 | |
| 2562 | protected void setEmissiveImpl(int emissive) { |
no test coverage detected