arcade-physics
Version:
Use Arcade Physics without Phaser.
18 lines • 532 B
TypeScript
export default Area;
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Returns the area of a Triangle.
*
* @function Phaser.Geom.Triangle.Area
* @since 3.0.0
*
* @param {Phaser.Geom.Triangle} triangle - The Triangle to use.
*
* @return {number} The area of the Triangle, always non-negative.
*/
declare function Area(triangle: Phaser.Geom.Triangle): number;
//# sourceMappingURL=Area.d.ts.map