From 977e1e376cbc4f6858404bb1e7147a6e459d3aa7 Mon Sep 17 00:00:00 2001 From: Raymond Toy Date: Fri, 24 Apr 2020 09:28:53 -0700 Subject: [PATCH] Fix #2192: Fix WaveShaperNode curve interpolation algorithm. Change `(1-f)*c[k] + f*c[k]` to `(1-f)*c[k] + f*c[k+1]` --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 3feca2ff1..0178e23dc 100644 --- a/index.bs +++ b/index.bs @@ -9534,7 +9534,7 @@ Attributes \begin{cases} c_0 & v \lt 0 \\ c_{N-1} & v \ge N - 1 \\ - (1-f)\,c_k + fc_k & \mathrm{otherwise} + (1-f)\,c_k + fc_{k+1} & \mathrm{otherwise} \end{cases} \end{align*} $$