DarthSharkie / Apel-Mod

Apel is a library that brings particle animations to the table with flexible behaviour and a clean developer interface. It promises also lots of predefined shapes & paths to help the developer on their particle scene
Other
0 stars 0 forks source link

Double-check BezierCurve `compute` implementations #34

Closed DarthSharkie closed 5 months ago

DarthSharkie commented 5 months ago

The cubic impl appears to multiple two squared terms, i.e., $(1 - t)^2t^2$ instead of $(1-t)t^2$ in its third term. This seems wrong.

DarthSharkie commented 5 months ago

Also, naming is wrong. It isn't tMinusOne, it's oneMinusT...

DarthSharkie commented 5 months ago

Duplicate of https://github.com/DarthSharkie/Apel-Mod/issues/43, fixed there.