Small collection of geometry algorithms in Haxe 3.