I hereby claim:
- I am percentjuice on github.
- I am stuempges (https://keybase.io/stuempges) on keybase.
- I have a public key ASBsEMk3edPaJMHZirY7fLU0PiFcMP4S1DiZYzebbXYFkAo
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
// ported from http://alienryderflex.com/intersect/ | |
public static function LineIntersection(a:Point, b:Point, c:Point, d:Point):Point | |
{ | |
var distAB:Number, cos:Number, sin:Number, newX:Number, ABpos:Number; | |
if ((a.x == b.x && a.y == b.y) || (c.x == d.x && c.y == d.y)) return null; | |
if ( a == c || a == d || b == c || b == d ) return null; | |
b = b.clone(); |
I hereby claim:
To claim this, I am signing this object: