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

Method setParams

core/src/processing/opengl/PShapeOpenGL.java:1219–1229  ·  view source on GitHub ↗
(float[] source)

Source from the content-addressed store, hash-verified

1217
1218
1219 @Override
1220 public void setParams(float[] source) {
1221 if (family != PRIMITIVE) {
1222 PGraphics.showWarning("Parameters can only be set to PRIMITIVE shapes");
1223 return;
1224 }
1225
1226 super.setParams(source);
1227 markForTessellation();
1228 shapeCreated = true;
1229 }
1230
1231
1232 @Override

Callers 1

PShapeOpenGLMethod · 0.95

Calls 2

showWarningMethod · 0.95
markForTessellationMethod · 0.95

Tested by

no test coverage detected