mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-29 17:30:11 +02:00
refactor: var is not necessary
This commit is contained in:
@@ -8,4 +8,4 @@
|
||||
*
|
||||
**/
|
||||
|
||||
function lerp(v1, v2, amt) = let(v = v2 - v1) v1 + v * amt;
|
||||
function lerp(v1, v2, amt) = v1 + (v2 - v1) * amt;
|
Reference in New Issue
Block a user