Phaser API Documentation

  Version: 

Member of: Phaser.Math

<static> RadToDeg(radians)

Description:

Convert the given angle in radians, to the equivalent angle in degrees.

Parameters:

name type description
radians number

The angle in radians to convert ot degrees.

Returns:
Description:

The given angle converted to degrees.

Type:
  • number
Examples:
Since: 3.0.0
Source: src/math/RadToDeg.js (Line 9)