public static FloatRect Convert(this Shared.Maths.Box2 box) { return(new FloatRect(box.Left, box.Top, box.Width, box.Height)); }
public static OpenTK.Box2 ToBox(this Shared.Maths.Box2 rect) { return(new OpenTK.Box2(rect.Left, rect.Top, rect.Right, rect.Bottom)); }