2D geometry in Java for games and such.