From 956ddcf702bc7c7acf96dd58dc92b73394198582 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Tue, 11 Jan 2022 00:19:35 -0500 Subject: [PATCH] docs tweaks --- core/src/processing/core/PApplet.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 872553ca5..636ec0ee5 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -4579,7 +4579,7 @@ public class PApplet implements PConstants { * returned as a float in the range from PI to -PI. * The atan2() function is most often used for orienting geometry to * the position of the cursor. Note: The y-coordinate of the point is the - * first parameter and the x-coordinate is the second due the the structure + * first parameter and the x-coordinate is the second due the structure * of calculating the tangent. * * @webref math:trigonometry @@ -4749,7 +4749,7 @@ public class PApplet implements PConstants { * Normalizes a number from another range into a value between 0 and 1. * Identical to map(value, low, high, 0, 1).
*
- * Numbers outside of the range are not clamped to 0 and 1, because + * Numbers outside the range are not clamped to 0 and 1, because * out-of-range values are often intentional and useful. (See the second * example above.) * @@ -4777,9 +4777,9 @@ public class PApplet implements PConstants { * range of 0 to 100 into a value that ranges from the left edge of the window * (0) to the right edge (width).
*
- * As shown in the second example, numbers outside of the range are not - * clamped to the minimum and maximum parameters values, because out-of-range - * values are often intentional and useful. + * As shown in the second example, numbers outside the range are + * not clamped to the minimum and maximum parameters values, + * because out-of-range values are often intentional and useful. * * @webref math:calculation * @webBrief Re-maps a number from one range to another