(int rgb)
| 1124 | // Ambient set/update |
| 1125 | |
| 1126 | public void ambient(int rgb) { |
| 1127 | if (!openShape) { |
| 1128 | PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "ambient()"); |
| 1129 | return; |
| 1130 | } |
| 1131 | |
| 1132 | setAmbient = true; |
| 1133 | colorCalc(rgb); |
| 1134 | ambientColor = calcColor; |
| 1135 | } |
| 1136 | |
| 1137 | |
| 1138 | public void ambient(float gray) { |
no test coverage detected