1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/test/util/test_lerp.scad

10 lines
166 B
OpenSCAD
Raw Normal View History

2022-06-06 13:11:46 +08:00
use <util/lerp.scad>
2022-04-13 09:10:25 +08:00
module test_lerp() {
echo("==== test_lerp ====");
assert(lerp([0, 0, 0], [100, 100, 100], 0.5) == [50, 50, 50]);
}
test_lerp();