Skip to content

Commit

Permalink
static p5.Vector
Browse files Browse the repository at this point in the history
  • Loading branch information
shiffman committed Jul 31, 2014
1 parent ab96337 commit 9d4bffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/learn/examples_src/09_Simulate/01_Forces.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function Mover(m,x,y) {
// Newton's 2nd law: F = M * A
// or A = F / M
Mover.prototype.applyForce = function(force) {
var f = PVector.div(force,this.mass);
var f = p5.Vector.div(force,this.mass);
this.acceleration.add(f);
};

Expand Down

0 comments on commit 9d4bffe

Please sign in to comment.