You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
284 B
7 lines
284 B
/**
|
|
* 返回一个 normalize 函数,该函数将输入的 t 从 [a, b] 线性变换到 [0, 1]
|
|
* @param a 输入 t 的最小值
|
|
* @param b 输入 t 的最大值
|
|
* @returns normalize 函数
|
|
*/
|
|
export declare function createNormalize(a: number, b: number): (t: number) => number;
|
|
|