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

Method getAmbient

core/src/processing/opengl/PShapeOpenGL.java:2259–2266  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

2257
2258
2259 @Override
2260 public int getAmbient(int index) {
2261 if (family != GROUP) {
2262 return PGL.nativeToJavaARGB(inGeo.ambient[index]);
2263 } else {
2264 return 0;
2265 }
2266 }
2267
2268
2269 @Override

Callers

nothing calls this directly

Calls 1

nativeToJavaARGBMethod · 0.95

Tested by

no test coverage detected