mirror of
https://github.com/bspeice/speice.io
synced 2024-12-23 00:58:09 -05:00
7 lines
282 B
TypeScript
7 lines
282 B
TypeScript
// hidden-start
|
|
import {Coefs} from "../src/coefs";
|
|
import {Transform} from "../src/transform";
|
|
import {applyCoefs} from "../src/coefs";
|
|
// hidden-end
|
|
export const transformPost = (transform: Transform, coefs: Coefs): Transform =>
|
|
(x, y) => applyCoefs(...transform(x, y), coefs) |