From 4dd1f29cb8eea6c6c0013141327ff0ac1bd0184e Mon Sep 17 00:00:00 2001 From: Prince-Polka Date: Fri, 8 Sep 2017 19:16:33 +0200 Subject: [PATCH] Update PGraphics.java --- core/src/processing/core/PGraphics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index 92ea583d0..47a919540 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -3211,7 +3211,7 @@ public class PGraphics extends PImage implements PConstants { * @see PGraphics#bezierVertex(float, float, float, float, float, float) * @see PGraphics#curvePoint(float, float, float, float, float) */ - public float bezierPoint (float a, float b, float c, float d, float t) { + public float bezierPoint(float a, float b, float c, float d, float t) { float t1 = t-1.0f; return t * ( 3*t1*(b*t1-c*t) + d*t*t ) - a*t1*t1*t1; }