UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

30 lines (22 loc) 643 B
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2026 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var CONST = require('./const'); var Extend = require('../utils/object/Extend'); /** * @namespace Phaser.Geom */ var Geom = { Circle: require('./circle'), Ellipse: require('./ellipse'), Intersects: require('./intersects'), Line: require('./line'), Polygon: require('./polygon'), Rectangle: require('./rectangle'), Triangle: require('./triangle') }; // Merge in the consts Geom = Extend(false, Geom, CONST); module.exports = Geom;