mono/MonoGame — pull request #1550 by Shqrdx (2013-03-16 02:59:29+00:00)
Title: Added Wrap methods to MathUtil.

These methods are not exist in XNA but I found them very useful in many cases. Also im introduced them to SharpDX and they fine. WrapAngle is too limited.

eg value = Wrap(value+1,0,10); // the value will constantly cycled between min and max.