Allow rectangles to be empty

This commit is contained in:
Tom Payne
2013-03-19 17:21:02 +01:00
parent 5192c5e64a
commit 0488612449

View File

@@ -15,9 +15,6 @@ goog.require('ol.Size');
*/
ol.Rectangle = function(minX, minY, maxX, maxY) {
goog.asserts.assert(minX <= maxX);
goog.asserts.assert(minY <= maxY);
/**
* @type {number}
*/