(colors)
| 346 | } |
| 347 | |
| 348 | function arrayToColor(colors) { |
| 349 | if (!Lib.isArrayOrTypedArray(colors)) { |
| 350 | return null; |
| 351 | } |
| 352 | |
| 353 | if (colors.length === 4 && typeof colors[0] === 'number') { |
| 354 | return _arrayToColor(colors); |
| 355 | } |
| 356 | |
| 357 | return colors.map(_arrayToColor); |
| 358 | } |
| 359 | |
| 360 | proto.update = function (data) { |
| 361 | var gl = this.scene.glplot.gl; |
no test coverage detected
searching dependent graphs…