Skip to content

Commit 8c92e5b

Browse files
committed
format
1 parent 474ed94 commit 8c92e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/particle-life/update.worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function update(dt: number, frameCount: number) {
228228
})
229229

230230
// Dampen velocity
231-
const pv_hyp = Math.hypot(pvx, pvy)
231+
const pv_hyp = Math.hypot(pvx, pvy)
232232
pvx *= Math.max(1 - dampen * pv_hyp, 0)
233233
pvy *= Math.max(1 - dampen * pv_hyp, 0)
234234

0 commit comments

Comments
 (0)