Skip to content

Commit

Permalink
Update van.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgryan authored May 25, 2024
1 parent 3e5b95c commit 8c41712
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/content/articles/van.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const nextBall = integrateMotion(ball, dT)
if (behind(wall, nextBall)) {
// recoil algorithm
nextBall.y = wall.y - Math.abs(nextBall.y - wall.y)
nextBall.angleRadians // TO DO
}
```

Expand Down

0 comments on commit 8c41712

Please sign in to comment.