(int rgb)
| 1159 | // Ambient set/update |
| 1160 | |
| 1161 | public void ambient(int rgb) { |
| 1162 | if (!openShape) { |
| 1163 | PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "ambient()"); |
| 1164 | return; |
| 1165 | } |
| 1166 | |
| 1167 | setAmbient = true; |
| 1168 | colorCalc(rgb); |
| 1169 | ambientColor = calcColor; |
| 1170 | } |
| 1171 | |
| 1172 | |
| 1173 | public void ambient(float gray) { |
no test coverage detected