Skip to content

Instantly share code, notes, and snippets.

@drawable
drawable / gist:92792f59b6ff8869d8b1
Created January 15, 2015 16:57
Intersecting two ellipses
interface IEllipse2D {
o: IVec2D;
rx: number;
ry: number;
rotation: number
}
/**
* Intersect two arbitrarily rotated ellipses. In the general case this boils down to solving a