Blame view

天文台pc/tianwentai-ui/node_modules/motion-dom/dist/es/utils/mix/index.mjs 377 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  import { getMixer } from './complex.mjs';
  import { mixNumber } from './number.mjs';
  
  function mix(from, to, p) {
      if (typeof from === "number" &&
          typeof to === "number" &&
          typeof p === "number") {
          return mixNumber(from, to, p);
      }
      const mixer = getMixer(from);
      return mixer(from, to);
  }
  
  export { mix };
  //# sourceMappingURL=index.mjs.map