diff --git a/src/math/trigonometry.js b/src/math/trigonometry.js index 39b8e4e196..47e7e2c773 100644 --- a/src/math/trigonometry.js +++ b/src/math/trigonometry.js @@ -286,10 +286,11 @@ function trigonometry(p5, fn){ * * `cos()` is useful for many geometric tasks in creative coding. The values * returned oscillate between -1 and 1 as the input angle increases. `cos()` - * takes into account the current angleMode(). + * calculates the cosine of an angle, using radians by default, or according + * to if angleMode() setting (RADIANS or DEGREES). * * @method cos - * @param {Number} angle the angle in radians unless specified by angleMode(). + * @param {Number} angle the angle, in radians by default, or according to if angleMode() setting (RADIANS or DEGREES). * @return {Number} cosine of the angle. * * @example @@ -366,10 +367,11 @@ function trigonometry(p5, fn){ * * `sin()` is useful for many geometric tasks in creative coding. The values * returned oscillate between -1 and 1 as the input angle increases. `sin()` - * takes into account the current angleMode(). + * calculates the sine of an angle, using radians by default, or according to + * if angleMode() setting (RADIANS or DEGREES). * * @method sin - * @param {Number} angle the angle in radians unless specified by angleMode(). + * @param {Number} angle the angle, in radians by default, or according to if angleMode() setting (RADIANS or DEGREES). * @return {Number} sine of the angle. * * @example @@ -446,11 +448,12 @@ function trigonometry(p5, fn){ * * `tan()` is useful for many geometric tasks in creative coding. The values * returned range from -Infinity to Infinity and repeat periodically as the - * input angle increases. `tan()` takes into account the current - * angleMode(). + * input angle increases. `tan()` calculates the tan of an angle, using radians + * by default, or according to + * if angleMode() setting (RADIANS or DEGREES). * * @method tan - * @param {Number} angle the angle in radians unless specified by angleMode(). + * @param {Number} angle the angle, in radians by default, or according to if angleMode() setting (RADIANS or DEGREES). * @return {Number} tangent of the angle. * * @example