Skip to content

Commit

Permalink
Jeddic#6 Correct javadoc as these are not actual bezier curves
Browse files Browse the repository at this point in the history
  • Loading branch information
richardTingle committed Dec 18, 2021
1 parent 751f43a commit e08906d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/com/epaga/particles/valuetypes/Curve.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e08906d

Please sign in to comment.