Skip to content

Instantly share code, notes, and snippets.

View sgratzl's full-sized avatar

Samuel Gratzl sgratzl

View GitHub Profile
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