UNPKG

@irysius/grid-math

Version:

Tools to assist with grid math and algorithms

18 lines (17 loc) 612 B
(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TYPE = 'screen'; function create(x, y, width, height) { return { x, y, width, height, type: 'screen' }; } exports.create = create; });