2019-07-18 09:36:11 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2022-02-28 14:29:51 +00:00
|
|
|
* @copyright 2022 Photon Storm Ltd.
|
2019-07-18 09:36:11 +00:00
|
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
|
|
|
*/
|
|
|
|
|
|
|
|
var GEOM_CONST = {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A Circle Geometry object type.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-07-18 09:36:11 +00:00
|
|
|
* @name Phaser.Geom.CIRCLE
|
2020-11-23 10:22:13 +00:00
|
|
|
* @type {number}
|
2019-07-18 09:36:11 +00:00
|
|
|
* @since 3.19.0
|
|
|
|
*/
|
|
|
|
CIRCLE: 0,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* An Ellipse Geometry object type.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-07-18 09:36:11 +00:00
|
|
|
* @name Phaser.Geom.ELLIPSE
|
2020-11-23 10:22:13 +00:00
|
|
|
* @type {number}
|
2019-07-18 09:36:11 +00:00
|
|
|
* @since 3.19.0
|
|
|
|
*/
|
|
|
|
ELLIPSE: 1,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A Line Geometry object type.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-07-18 09:36:11 +00:00
|
|
|
* @name Phaser.Geom.LINE
|
2020-11-23 10:22:13 +00:00
|
|
|
* @type {number}
|
2019-07-18 09:36:11 +00:00
|
|
|
* @since 3.19.0
|
|
|
|
*/
|
|
|
|
LINE: 2,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A Point Geometry object type.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-07-18 09:36:11 +00:00
|
|
|
* @name Phaser.Geom.POINT
|
2020-11-23 10:22:13 +00:00
|
|
|
* @type {number}
|
2019-07-18 09:36:11 +00:00
|
|
|
* @since 3.19.0
|
|
|
|
*/
|
|
|
|
POINT: 3,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A Polygon Geometry object type.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-07-18 09:36:11 +00:00
|
|
|
* @name Phaser.Geom.POLYGON
|
2020-11-23 10:22:13 +00:00
|
|
|
* @type {number}
|
2019-07-18 09:36:11 +00:00
|
|
|
* @since 3.19.0
|
|
|
|
*/
|
|
|
|
POLYGON: 4,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A Rectangle Geometry object type.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-07-18 09:36:11 +00:00
|
|
|
* @name Phaser.Geom.RECTANGLE
|
2020-11-23 10:22:13 +00:00
|
|
|
* @type {number}
|
2019-07-18 09:36:11 +00:00
|
|
|
* @since 3.19.0
|
|
|
|
*/
|
|
|
|
RECTANGLE: 5,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A Triangle Geometry object type.
|
2022-02-28 14:29:51 +00:00
|
|
|
*
|
2019-07-18 09:36:11 +00:00
|
|
|
* @name Phaser.Geom.TRIANGLE
|
2020-11-23 10:22:13 +00:00
|
|
|
* @type {number}
|
2019-07-18 09:36:11 +00:00
|
|
|
* @since 3.19.0
|
|
|
|
*/
|
|
|
|
TRIANGLE: 6
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = GEOM_CONST;
|