Skip to content

Commit

Permalink
Update initial-spectrum.js
Browse files Browse the repository at this point in the history
introduce init spectrum update
  • Loading branch information
Spiri0 authored Nov 2, 2024
1 parent ee931ee commit 5e945aa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/waves/initial-spectrum.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,15 @@ export const initial_spectrum = (() => {
}


Update(_) {

Update() {
this.params_.renderer.compute(this.initialSpectrum, this.defaultWorkgroup);
this.params_.renderer.compute(this.initialSpectrumWithInverse, this.defaultWorkgroup);
}

}

return {
InitialSpectrum: InitialSpectrum,
InitialSpectrum,
};

})();
Expand Down

0 comments on commit 5e945aa

Please sign in to comment.