sample/assets/js/babylon.max.js
function RectPackingMap(size, margin) {
            if (margin === void 0) { margin = 0; }
            var _this = _super.call(this, null, null, BABYLON.Vector2.Zero(), size) || this;
            _this._margin = margin;
            _this._root = _this;
            return _this;
        }
function RectPackingMap(size, margin) {
            if (margin === void 0) { margin = 0; }
            var _this = _super.call(this, null, null, BABYLON.Vector2.Zero(), size) || this;
            _this._margin = margin;
            _this._root = _this;
            return _this;
        }
function RectPackingMap ( size , margin ) { if ( margin === void 0 ) { margin = 0 ; } var _this = _super . call ( this , null , null , BABYLON . Vector2 . Zero ( ) , size ) || this ; _this . _margin = margin ; _this . _root = _this ; return _this ; }
Create an instance of the object with a dimension using the given size
@param size The dimension of the rectangle that will contain all the sub ones.
@param margin The margin (empty space) created (in pixels) around the allocated Rectangles
Create an instance of the object with a dimension using the given size