MCPcopy Index your code
hub / github.com/processing/processing / specular

Method specular

core/src/processing/core/PShape.java:1166–1174  ·  view source on GitHub ↗
(int rgb)

Source from the content-addressed store, hash-verified

1164 // Specular set/update
1165
1166 public void specular(int rgb) {
1167 if (!openShape) {
1168 PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "specular()");
1169 return;
1170 }
1171
1172 colorCalc(rgb);
1173 specularColor = calcColor;
1174 }
1175
1176
1177 public void specular(float gray) {

Callers 1

defaultSettingsMethod · 0.45

Calls 2

showWarningMethod · 0.95
colorCalcMethod · 0.95

Tested by

no test coverage detected