MCPcopy Index your code
hub / github.com/processing/p5.js / pushCurrentData

Method pushCurrentData

src/webgl/p5.Geometry.js:1847–1850  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1845 },
1846 // Utilities
1847 pushCurrentData(){
1848 const data = this.getCurrentData();
1849 this.pushDirect(data);
1850 },
1851 pushDirect(data) {
1852 if (data.length){
1853 this.getSrcArray().push(...data);

Callers 3

constructFromContoursMethod · 0.80
_tesselateShapeMethod · 0.80
vertexPropertyMethod · 0.80

Calls 2

getCurrentDataMethod · 0.95
pushDirectMethod · 0.95

Tested by

no test coverage detected