From 4157beebeb87bad85fddb6d7aac078cf75bb8023 Mon Sep 17 00:00:00 2001 From: Daniel Sell Date: Wed, 2 Nov 2022 11:39:16 -0700 Subject: [PATCH] fix math traits for interpolate on emscripten --- src/math/interpolate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/interpolate.rs b/src/math/interpolate.rs index 60c3461e..8004175f 100644 --- a/src/math/interpolate.rs +++ b/src/math/interpolate.rs @@ -16,7 +16,7 @@ where #[inline] pub(crate) fn linear(a: T, b: T, x: T) -> T where - T: MulAdd + Sub + Copy, + T: Mul + Add + Sub + Copy, { (x * (b - a)) + a }