MCPcopy Create free account
hub / github.com/benfry/processing4 / specular

Method specular

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

Source from the content-addressed store, hash-verified

1199 // Specular set/update
1200
1201 public void specular(int rgb) {
1202 if (!openShape) {
1203 PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "specular()");
1204 return;
1205 }
1206
1207 colorCalc(rgb);
1208 specularColor = calcColor;
1209 }
1210
1211
1212 public void specular(float gray) {

Callers 1

defaultSettingsMethod · 0.45

Calls 2

showWarningMethod · 0.95
colorCalcMethod · 0.95

Tested by

no test coverage detected