UNPKG

arcade-physics

Version:
17 lines 749 B
export default RotateAroundPoint; /** * Rotates a Triangle at a certain angle about a given Point or object with public `x` and `y` properties. * * @function Phaser.Geom.Triangle.RotateAroundPoint * @since 3.0.0 * * @generic {Phaser.Geom.Triangle} O - [triangle,$return] * * @param {Phaser.Geom.Triangle} triangle - The Triangle to rotate. * @param {Phaser.Geom.Point} point - The Point to rotate the Triangle about. * @param {number} angle - The angle by which to rotate the Triangle, in radians. * * @return {Phaser.Geom.Triangle} The rotated Triangle. */ declare function RotateAroundPoint(triangle: Phaser.Geom.Triangle, point: Phaser.Geom.Point, angle: number): Phaser.Geom.Triangle; //# sourceMappingURL=RotateAroundPoint.d.ts.map