Refactor liner interpolation to use (1-w)*v0+w*v1
Using v0+w*(v1-v0) can be numerically unstaqble due to floating point arithmatic errors. Additionaly, the newer form also resolves type conversion warnings.
Showing
Please register or sign in to comment