Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacbowen committed Feb 2, 2024
1 parent cd7b859 commit 0eeb3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class Simulation {
return Vector.normalise(perpendicular);
}

getEdgeRepulsionForce(body: Bod, baseForce: number) {
getEdgeRepulsionForce(body: Body, baseForce: number) {
const comfortableDistance = 100; // Distance from the edge where bodies start to feel "uncomfortable"

// Calculate distance to the nearest edge on the X and Y axes
Expand Down

0 comments on commit 0eeb3c0

Please sign in to comment.