2 lines
86 B
TypeScript
2 lines
86 B
TypeScript
export const mix = (from: number, to: number, q: number) =>
|
|
from + (to - from) * q;
|