UNPKG

@irysius/grid-math

Version:

Tools to assist with grid math and algorithms

18 lines (17 loc) 578 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 = 'cell'; function create(x, y) { return { x, y, type: 'cell' }; } exports.create = create; });