UNPKG

arcade-physics

Version:
16 lines 497 B
export default Rotate; /** * Rotate a line around its midpoint by the given angle in radians. * * @function Phaser.Geom.Line.Rotate * @since 3.0.0 * * @generic {Phaser.Geom.Line} O - [line,$return] * * @param {Phaser.Geom.Line} line - The line to rotate. * @param {number} angle - The angle of rotation in radians. * * @return {Phaser.Geom.Line} The rotated line. */ declare function Rotate(line: Phaser.Geom.Line, angle: number): Phaser.Geom.Line; //# sourceMappingURL=Rotate.d.ts.map