MCPcopy Index your code
hub / github.com/benfry/processing4 / setParams

Method setParams

core/src/processing/core/PShape.java:2276–2285  ·  view source on GitHub ↗
(float[] source)

Source from the content-addressed store, hash-verified

2274
2275
2276 protected void setParams(float[] source) {
2277 if (params == null) {
2278 params = new float[source.length];
2279 }
2280 if (source.length != params.length) {
2281 PGraphics.showWarning("Wrong number of parameters");
2282 return;
2283 }
2284 PApplet.arrayCopy(source, params);
2285 }
2286
2287
2288 public void setPath(int vcount, float[][] verts) {

Callers 2

PShapeMethod · 0.95
SerialMethod · 0.45

Calls 2

showWarningMethod · 0.95
arrayCopyMethod · 0.95

Tested by

no test coverage detected