On Sun Nov 27 04:45:37 2022 +0000, Zebediah Figura wrote:
What you have here is instead "p^2 (3 - 2p), where p = saturate((x - a)/(b - a))". I haven't checked the math, but the discrepancy should probably be fixed.
Thanks for catching that. The comment is wrong.