Skip to content

Commit

Permalink
emergency lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomax committed Mar 30, 2013
1 parent c60d2c7 commit 906c886
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions processing.js
Expand Up @@ -29,7 +29,7 @@

// document.head polyfill for the benefit of Firefox 3.6
if (!document.head) {
document.getElementsByTagName('head')[0];
document.head = document.getElementsByTagName('head')[0];
}

// Typed Arrays: fallback to WebGL arrays or Native JS arrays if unavailable
Expand Down Expand Up @@ -1143,11 +1143,11 @@
v.x = Math.cos(angle);
v.y = Math.sin(angle);
return v;
}
};

PVector.random2D = function(v) {
return PVector.fromAngle(Math.random() * PConstants.TWO_PI, v);
}
};

PVector.random3D = function(v) {
var angle = Math.random() * PConstants.TWO_PI;
Expand All @@ -1161,7 +1161,7 @@
v.set(vx, vy, vz);
}
return v;
}
};

PVector.dist = function(v1, v2) {
return v1.dist(v2);
Expand All @@ -1188,7 +1188,7 @@
var retval = new PVector(v1.x, v1.y, v1.z);
retval.lerp(v2, amt);
return retval;
}
};

// Common vector operations for PVector
PVector.prototype = {
Expand Down Expand Up @@ -1302,7 +1302,7 @@
x * v.y - v.x * y);
},
lerp: function(v_or_x, amt_or_y, z, amt) {
function lerp_val(start, stop, amt) {
var lerp_val = function(start, stop, amt) {
return start + (stop - start) * amt;
};
var x, y;
Expand Down

0 comments on commit 906c886

Please sign in to comment.