Skip to content

Commit c62baca

Browse files
authored
Merge pull request #7099 from samme/fix/GetCounterClockwiseDistance-phaser-3
Fix GetCounterClockwiseDistance() for Phaser 3
2 parents b5139a9 + 29fddf2 commit c62baca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/math/angle/GetCounterClockwiseDistance.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
* @license {@link https://opensource.org/licenses/MIT|MIT License}
55
*/
66

7-
var MATH_CONST = require('../const');
87
var NormalizeAngle = require('./Normalize');
98

10-
var TAU = MATH_CONST.TAU;
9+
var TAU = 2 * Math.PI;
1110

1211
/**
1312
* Gets the shortest nonpositive angular distance from angle1 to angle2.

0 commit comments

Comments
 (0)