Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bit101/CodingMath
Browse files Browse the repository at this point in the history
  • Loading branch information
bit101 committed Mar 30, 2015
2 parents 6c5f562 + 079767c commit b8e09c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episode36/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ window.onload = function() {
function updatePoints() {
for(var i = 0; i < points.length; i++) {
var p = points[i],
vx = (p.x - p.oldx) * friction;
vx = (p.x - p.oldx) * friction,
vy = (p.y - p.oldy) * friction;

p.oldx = p.x;
Expand Down

0 comments on commit b8e09c0

Please sign in to comment.