(float[] source)
| 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) { |
no test coverage detected