Skip to content

Commit

Permalink
#2893: collision.js, add missing ';'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Dec 23, 2017
1 parent 0d20de1 commit ddb0172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jsx/import/animation/nodes/collision.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ function collision() {
return function(quad, x1, y1, x2, y2) {
if (quad.point && (quad.point !== node)) {
const x = node.x - quad.point.x;
const y = node.y - quad.point.y,
let l = Math.sqrt(x * x + y * y),
const y = node.y - quad.point.y;
let l = Math.sqrt(x * x + y * y);
const r = node.radius + quad.point.radius;

if (l < r) {
Expand Down

0 comments on commit ddb0172

Please sign in to comment.