From e08906dd0501c81ce0ba48f6de8d2ba3296d7170 Mon Sep 17 00:00:00 2001 From: Richard Tingle <6330028+richardTingle@users.noreply.github.com> Date: Sat, 18 Dec 2021 16:42:41 +0000 Subject: [PATCH] #6 Correct javadoc as these are not actual bezier curves --- src/main/java/com/epaga/particles/valuetypes/Curve.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/epaga/particles/valuetypes/Curve.java b/src/main/java/com/epaga/particles/valuetypes/Curve.java index 94045ac..0a7787c 100644 --- a/src/main/java/com/epaga/particles/valuetypes/Curve.java +++ b/src/main/java/com/epaga/particles/valuetypes/Curve.java @@ -166,8 +166,9 @@ public boolean equals(Object o) { * Produces a builder that can be used to fluently build a curve. A Curve will always be continuous (And should * move in a positive X direction) but the gradient may change sharply. * - * It is a series of anchor points connected either by straight line sections or cubic besier curves (defined by - * 2 control points). + * It is a series of anchor points connected either by straight line sections or cubic Bézier-like curves (defined by + * 2 control points). They are bezier-like curves not Bézier curves because of the requirement that X (often + * representing time) can only be allowed to move forward * * In normal usage the first anchor point should be at x = 0, all further points should advance in the X axis and * the final anchor point should have x at 1. This is because usually X is the fractional life of the particle