MCPcopy Index your code
hub / github.com/phaserjs/phaser / DegToRad

Function DegToRad

src/math/DegToRad.js:19–22  ·  view source on GitHub ↗
(degrees)

Source from the content-addressed store, hash-verified

17 * @return {number} The given angle converted to radians.
18 */
19var DegToRad = function (degrees)
20{
21 return degrees * CONST.DEG_TO_RAD;
22};
23
24module.exports = DegToRad;

Callers 10

Tilemap.jsFile · 0.85
ArcadePhysics.jsFile · 0.85
PerimeterPointFunction · 0.85
BaseCamera.jsFile · 0.85
PathFollower.jsFile · 0.85
Particle.jsFile · 0.85
Arc.jsFile · 0.85
ArcCanvasRendererFunction · 0.85
EllipseCurve.jsFile · 0.85
DegToRad.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…