We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6812cf commit f2aa263Copy full SHA for f2aa263
1 file changed
src/math/Math.js
@@ -889,7 +889,7 @@ Phaser.Math = {
889
*
890
* @method Phaser.Math#wrapAngle
891
* @param {number} angle - The angle value to check
892
- * @param {boolean} radians - True if angle is given in radians.
+ * @param {boolean} radians - Set to `true` if the angle is given in radians, otherwise degrees is expected.
893
* @return {number} The new angle value, returns the same as the input angle if it was within bounds.
894
*/
895
wrapAngle: function (angle, radians) {
0 commit comments