arcade-physics
Version:
Use Arcade Physics without Phaser.
15 lines • 357 B
TypeScript
export default Wrap;
/**
* Wrap an angle.
*
* Wraps the angle to a value in the range of -PI to PI.
*
* @function Phaser.Math.Angle.Wrap
* @since 3.0.0
*
* @param {number} angle - The angle to wrap, in radians.
*
* @return {number} The wrapped angle, in radians.
*/
declare function Wrap(angle: number): number;
//# sourceMappingURL=Wrap.d.ts.map