UNPKG

css-transform-matrix-plugin

Version:

A webpack plugin that automatically converts CSS transform properties to matrix3d for GPU acceleration

8 lines 501 B
import type { Matrix3D } from '../types/index'; export declare function degToRad(degrees: number): number; export declare function radToDeg(radians: number): number; export declare function createIdentityMatrix(): Matrix3D; export declare function multiplyMatrices(a: Matrix3D, b: Matrix3D): Matrix3D; export declare function matrixToArray(matrix: Matrix3D): number[]; export declare function matricesAreEqual(a: Matrix3D, b: Matrix3D, tolerance?: number): boolean; //# sourceMappingURL=index.d.ts.map