utils/lerp library
Functions
-
lerp(
double a, double b, double t) → double -
lerpAngle(
double start, double end, double fraction, {double range = 1, bool shortestPath = true}) → double -
Imagine a circle with a range of
0, range. IfshortestPathis true, the shortest path betweenstartandendwill be used. IfshortestPathis false, the longest path betweenstartandendwill be used.