Skip to content

Commit

Permalink
Update initial-spectrum.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Spiri0 authored Nov 2, 2024
1 parent cbb45ea commit 52ebb60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/waves/initial-spectrum.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const initial_spectrum = (() => {
boundaryHigh: uniform(params.boundaryHigh),
...params.waveSettings
}).compute(params.size ** 2);
params.renderer.compute(initialSpectrum, this.defaultWorkgroup);
params.renderer.compute(this.initialSpectrum, this.defaultWorkgroup);
}


Expand All @@ -61,7 +61,7 @@ export const initial_spectrum = (() => {
index: instanceIndex,
size: params.size,
}).compute(params.size ** 2);
params.renderer.compute(initialSpectrumWithInverse, this.defaultWorkgroup);
params.renderer.compute(this.initialSpectrumWithInverse, this.defaultWorkgroup);
}


Expand Down

0 comments on commit 52ebb60

Please sign in to comment.