Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 43x 43x 479x 239x | import { Axis, AxisDelta, Box, Delta } from "./types" export const createAxisDelta = (): AxisDelta => ({ translate: 0, scale: 1, origin: 0, originPoint: 0, }) export const createDelta = (): Delta => ({ x: createAxisDelta(), y: createAxisDelta(), }) export const createAxis = (): Axis => ({ min: 0, max: 0 }) export const createBox = (): Box => ({ x: createAxis(), y: createAxis(), }) |