Skip to content

Commit

Permalink
remove wrong attribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
nraynaud committed Jan 14, 2016
1 parent 37fdab7 commit 2d8394e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions webapp/cnc/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ define(function () {
return Math.atan2(this.y, this.x);
},
angle: function (fromPoint, toPoint) {
//stolen from http://stackoverflow.com/questions/1211212/how-to-calculate-an-angle-from-three-points#comment47211790_1211212

var v1 = this.sub(fromPoint);
var v2 = toPoint.sub(this);
var dot = v1.x * v2.x + v1.y * v2.y;
Expand Down

0 comments on commit 2d8394e

Please sign in to comment.