Forked from https://farseerphysics.codeplex.com/ and adjusted to Duality