Skip to content

Commit

Permalink
Updated binary (particle add optimization)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nrosa01 committed May 11, 2024
1 parent 9e165f9 commit 0c0607e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified src/assets/app.wasm
Binary file not shown.
1 change: 1 addition & 0 deletions src/stores/simulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export const useSimulationStore = defineStore("simulation", () => {
for (let i = 0; i < particle_array.value.length; i++) {
selectParticle(i);
loadWorkspace(i);
regenerateCode();
}

selectParticle(Math.min(previous_selected, particle_array.value.length - 1));
Expand Down

0 comments on commit 0c0607e

Please sign in to comment.