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

Method emissive

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

Source from the content-addressed store, hash-verified

1201 // Emissive set/update
1202
1203 public void emissive(int rgb) {
1204 if (!openShape) {
1205 PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "emissive()");
1206 return;
1207 }
1208
1209 colorCalc(rgb);
1210 emissiveColor = calcColor;
1211 }
1212
1213
1214 public void emissive(float gray) {

Callers 1

defaultSettingsMethod · 0.45

Calls 2

showWarningMethod · 0.95
colorCalcMethod · 0.95

Tested by

no test coverage detected