initial render distance field
This commit is contained in:
parent
4d7217a40a
commit
36be3b566f
|
|
@ -39,6 +39,7 @@ export class DistanceField extends HTMLElement {
|
||||||
this.initShaders();
|
this.initShaders();
|
||||||
this.initPingPongTextures();
|
this.initPingPongTextures();
|
||||||
this.populateSeedPoints();
|
this.populateSeedPoints();
|
||||||
|
this.runJumpFloodingAlgorithm();
|
||||||
|
|
||||||
window.addEventListener('resize', this.handleResize);
|
window.addEventListener('resize', this.handleResize);
|
||||||
this.shapes.forEach((geometry) => {
|
this.shapes.forEach((geometry) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue