ref: 2e86b938c226edc0d8bd6c3855baf3bec02b5179
dir: /tangled/scale.c/
#line 23 "scale.org" #include "scale.h" #line 37 "scale.org" SKFLT sk_scale(SKFLT in, SKFLT min, SKFLT max) { return in * (max - min) + min; } #line 54 "scale.org" SKFLT sk_biscale(SKFLT in, SKFLT min, SKFLT max) { return min + (in + 1.0) * 0.5 * (max - min); } #line 23 "scale.org"