mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
31 lines
708 B
JavaScript
31 lines
708 B
JavaScript
/**
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
* @copyright 2013-2023 Photon Storm Ltd.
|
|
* @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'),
|
|
Mesh: require('./mesh'),
|
|
Point: require('./point'),
|
|
Polygon: require('./polygon'),
|
|
Rectangle: require('./rectangle'),
|
|
Triangle: require('./triangle')
|
|
|
|
};
|
|
|
|
// Merge in the consts
|
|
Geom = Extend(false, Geom, CONST);
|
|
|
|
module.exports = Geom;
|